LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Access to PXI6280 without shared variables

I want to run a program on my PC that aquires data from different multimeters. Between measurements, I have to set some digital outputs on my remote PXI8196

system. I first realized this by using shared variables, which results in extremely long waiting times (my measurement took something around 6 days then, instead of a few hours).

My new approach is to write the digital output lines via remote access, so I added the IP adress of the remote system to the adress in DAQmxCreateDOChan (something like "IP/PXI1Slot5/port1/line0"), which does not work at all. I get the error message 200170 that the physical channel does not exist.

Is there any way to remotely access the digital i/o, as if it were a local device? And if so, what are the correct identifiers for the remote ports and lines?

Any ideas are greatly appreciated!

0 Kudos
Message 1 of 5
(3,546 Views)
hey cholulteca,

i guess you tried the OPC capabilities of DAQmx.

do you have the possibility to run a LabVIEW application on the 8196 system, which might be controlled and exchanges data i.e. directly with TCP/IP functions?

kind regards,

robert h
NI germany
0 Kudos
Message 2 of 5
(3,521 Views)

What I understood (from here for example) was that I cannot use OPC without (at least indirectly) using Shared Variables, correct me if I'm wrong there.

I do not want to use LabView, I need a CVI-only-version. What I did now is I set up a udp connection, which is not really what I wanted, because there are mainly single values that are being exchanged. What I was looking for originally was a way to access DIO just like in debugging mode, as if it were connected directly to my PC.

0 Kudos
Message 3 of 5
(3,517 Views)
yes, you cannot use OPC without shared vairables.
sorry i assumed, that you use LabVIEW.

as far as i know there are no alternatives to the shared variable, except implementing a mechanism, like you did, which does the data acquisition
and send the data to your host application through the network.

kind regards,

robert
0 Kudos
Message 4 of 5
(3,508 Views)
Ok, thanks a lot anyways!
0 Kudos
Message 5 of 5
(3,503 Views)