LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

12 channels in flat sequence into U3-HV What is the interface?

I have 12 channels which will be expanded to 36 later and need the interface logic.

12 channels are sequentially pulsed in flat  logic box. Interested in taking that sequence into U3-HV and 12 channel relay board (both from LABJACK) Block diagram or basic logic flow?

THANKS!!!

0 Kudos
Message 1 of 5
(2,984 Views)

"Flat logic box" or flat sequence? 

For loop better.

>> Block diagram or basic logic flow?

Both are required.

 

Interested in snippet or vi attached

0 Kudos
Message 2 of 5
(2,943 Views)

I'm afraid I don't totally understand what you are asking about, but as for the LabJack part of your system it sounds like you occasionally want to update the 8 EIO and 4 CIO lines on the U3.  A likely way to do that is with an eGet call using ioType LJ_ioPUT_DIGITAL_PORT.  Here is pseudocode for a call to set 12 bits of DIO starting from DIO8 to all high (b111111111111):

 

// Channel=8, Value=4095, x1=12

eGet (lngHandle, LJ_ioPUT_DIGITAL_PORT, 8, 4095, 12);

 

https://labjack.com/support/datasheets/u3/high-level-driver/example-pseudocode/dio

 

https://labjack.com/support/datasheets/u3/high-level-driver/function-reference/eput-eget

 

Check out the LabVIEW example "U3 Single IO Example.vi":

 

https://labjack.com/support/software/examples/ud/labview

 

So that is how you can update the 12 DIO on the U3-HV using LabVIEW.  The exact technique of how and when you do that would be further LabVIEW programming details.

0 Kudos
Message 3 of 5
(2,909 Views)

REPLY:

Re: 12 channels in flat sequence into U3-HV What is the interface?

Have not had time yet this morning to develop a interface only a state machine, this is may 2nd week using LABVIEW on a Mac os (a company requirement). I was told by LABJACK engineers their software can configure any state machine to the U3-HV, but I have serious doubts....

snip attached of state machine

0 Kudos
Message 4 of 5
(2,890 Views)

My previous response was for Windows.  There is some limited support for LabVIEW on Mac available:

 

https://labjack.com/support/software/api/exodriver/labview-mac-os-x-linux

 

 

0 Kudos
Message 5 of 5
(2,883 Views)