08-31-2017 10:58 AM
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!!!
08-31-2017 04:17 PM
"Flat logic box" or flat sequence?
For loop better.
>> Block diagram or basic logic flow?
Both are required.
Interested in snippet or vi attached
09-05-2017 11:25 AM
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.
09-11-2017 12:46 PM
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
09-11-2017 01:22 PM
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