Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

cDAQ 9181 and 9476 system C sample

Hello,

 

I am using a PCI-6528 board (DI and DO) with VC++, and it runs perfectly. Now I want to switch to a simple cDAQ system composed by host board cDAQ-9181 with slot NI 9476 (only DO, it is ok for now). The 9181 chassis is connected to the pc via ethernet connection. This new system runs perfectly from NI MAX interface, now I need to automatize the operations using VC++. I read in this forum that i need to reserve the chassis before using it, however I am not able to find any documentation or example for doing this using VC++. I was wondering if someone can help me in retrieving this documentation (it seems not present in the examples installed with NI MAX software).

thanks for kind reply

0 Kudos
Message 1 of 3
(2,400 Views)

Hi,

You may try to use  AddNetworkDevice as shown in the article below:

How Do I Reserve an Ethernet Based cDAQ Chassis from LabVIEW?

 

0 Kudos
Message 2 of 3
(2,337 Views)

hello

 

thanks for your reply, now I can handle the drivers even from VC. I experience some timing issues when reserving the device, it seems I receive the signal of operation complete before the reservation is actually complete. I will look closer.

0 Kudos
Message 3 of 3
(2,319 Views)