LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Non-fatal run-time error, CVI 7.0, two PCI-6527 cards

System info:
- LabWindows CVI 7.0
- Microsoft Windows 2000 Pro
- Two PCI-6527 and four RS232/8-port cards.
- Using the NI Measurement and Automation tools, all cards work fine.

In CVI, I receive a non-fatal run-time error stating that a first chance general protection fault has occurred. This happens after executing the DIG_Out_Line function for the first time. Two of these messages appear. The output does change after clicking "ok" for both messages. All subsequent DIG_Out_Line function calls work fine. I receive no errors when initializing the cards and pass all values via the appropriate variable types (shorts).

Any insight is much appreciated.

Thanks in advance.
Neil
0 Kudos
Message 1 of 3
(2,641 Views)
Neil:

Please try running the DO Line Output example that ships with NI-DAQ. It is located here:

C:\Program Files\National Instruments\CVI70\samples\daq\do\DOoneLine.C

Does the problem occur with this example? If not, please take a closer look at your code and compare to this examples' code...

Good Luck!

Sincerely,
Brooks B
Applications Engineer
National Instruments
Message 2 of 3
(2,641 Views)
Hello Brooks,

I used the code found in DOoneLine.c and I still receive the error message. I am able to suppress the error using the "Run -> Break on" settings in LabWindows but I would prefer not to do that.

Thanks,
Neil D
Test Engineer
0 Kudos
Message 3 of 3
(2,641 Views)