![VXI Technology VM1548C User Manual Download Page 39](http://html1.mh-extra.com/html/vxi-technology/vm1548c/vm1548c_user-manual_1057882039.webp)
www.vxitech.com
VM1548C Programming
39
VXI
PLUG
&
PLAY
E
XAMPLES
/********************************************************************/
/*
*
APPLICATION
FUNCTION
*
--------------------
*/
/********************************************************************/
Function:
vtvm1548_setupAndWriteData
Formal Parameters ViSession instrHndl
- A valid session handle to the instrument.
ViInt16
portNumber
- This parameter is used to set the port and the clock
associated with the specified port to which the 8 bit data
value is to be written.
Valid
Values:
Interpretation:
------------ ---------------
vtvm1548_PORT_ZERO Port
Zero
vtvm1548_PORT_ONE
Port
One
vtvm1548_PORT_TWO
Port
Two
vtvm1548_PORT_THREE
Port
Three
vtvm1548_PORT_FOUR Port
Four
vtvm1548_PORT_FIVE Port
Five
ViInt16
clkSource
- This parameter is used to set the source of the clock
circuit associated with the specified port.
Valid
Values:
Interpretation:
------------ --------------
vtvm1548_CLK_SOURCE_IMM Word Serial Event
vtvm1548_CLK_SOURCE_TTLT VXIbus
TRIGIN
vtvm1548_CLK_SOURCE_GLOB TRIGOUT
vtvm1548_CLK_SOURCE_NONE Ground
ViBoolean
polarity
- This parameter is used to set the polarity of the clock
circuit associated with the specified port. This parameter
is considered only if the specified clock source is either
vtvm1548_CLK_SOURCE_TTLT or tvm1548_CLK_SOURCE_GLOB.