Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DIG_Grp_Config doesn't work on PXI6115

Unable to execute call to DIG_Grp_Config for digital output (or input) on a PXI6115, using NIDAQ 6.9.3f4. Call results in hard error 10600, "No setup operation has been performed for the specified resources. Or, some resources require a specific ordering of calls for proper setup." Have been unable to find any other set-up calls that affect the situation. Arguments transmitted to the function are correct according to manuals, examples, etc. Is there some secret setup call I'm missing or does NIDAQ 6.9.3f4 fail on a 6115 board or something else?

David George
970 263 9714
0 Kudos
Message 1 of 2
(2,554 Views)
David,

The issue at hand is that the DIG_Grp_Config() call is for our digital devices such as the NI 653x series. This call is not compatible with your hardware. Please use the DIG_Prt_Config() call instead.

Check out some of the examples that ship with the NI-DAQ driver. These will be located in \Program Files\National Instruments\NI-DAQ\Examples\VisualC. Look in the DI or DO directories and make sure you don't use examples that include 653x or 8255 in the title. The PXI-6115 uses the DAQ-STC chip, instead.

Additionally, you may find examples online in our Development Library.

Development Library: Digital Input/Output
http://zone.ni.com/devzone/devzone.nsf/webcategories/DE8672528D9A733C86256797004C659A?opendocument&node=dz52278_us

Output
Digital Data to Single Port
http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E0E356A4E034080020E74861&p_node=DZ52322&p_submitted=N&p_rank=&p_answer=&p_source=Internal

Input Data from Single Digital Port
http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3DF4B56A4E034080020E74861&p_node=DZ52318&p_submitted=N&p_rank=&p_answer=&p_source=Internal

Regards,
Justin Britten

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,554 Views)