I know this VI, but I still have problems with my scxi-1163R module.
As far, as I understand, when I run labview, the first thing I have to
do is to run the 'port config' vi just one time, and then, when I want
to open/close a relay, I have to call the 'port write' vi.
This does not work properly. The 'port config' vi seems to work well
(i.e no error message and no action on the relays), but I'm not able to
run others vi wich contains the 'port write' vi, as they need a task ID
which should come from the 'port config' vi.
I tried to put this task ID in a global variable but then the 'port
write' vi opens all relays.
The only solution for the moment is:
- When I open labview, run 'port config' and 'port write' with an hex
pattern FFFFF (all relays opens)
- When
I want to close/open a relay, run 'port config' and 'port write'
with an correct hex pattern.
I want to avoid to have to open all the relays when I open labview.