LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

fatal error

I should write a little application to generate a sine-wave at one of the outputs of a NI-6014 PCI board.
I used the function AOGenerateWaveforms.
As I run the proj. with the debugger I had a Fatal Run Time Error and I have no Idea why!
thanx for your help!
(here the message from the Run-Time window:
FATAL RUN-TIM ERROR
"analog_out.c, line 55, col 5, thread id 0x00000145
The program has caused a 'General Protection' fault at 001B:211AAA6B.)
Download All
0 Kudos
Message 1 of 2
(2,999 Views)
The run-time error is being generated by the channel_string. You have incorrectly declared this variable. It needs to be a string. For instance "0" to output on channel 0. Right now it is an empty array. Try something like "char channel_string[2] = {"0"};"

Regards,
Justin Britten

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