02-06-2009 06:38 AM
Hi all
I have created a VI to save the data from the waveform, i am using the NI PCI 6225 card, the data from the function generator is not saved here. I have kept the port as DEV2 Ai0. it doesnt give any error message to but it just stops running as soon as i switch it on.here's my Vi .
02-06-2009 07:03 AM
Hi,
Can be few problems, if it stops running as soon as you switch it on look your STOP button if not true ( for example if you run opne time it was working and after just stop when you run it, look mechanical action).
After can be some error cause inside the while you are asking in first iteration the file name to save, just ask the file name before the while it is better.
For looking error use a function to see if there is error inside the while on your error cable also cause here you will not see any error and stop the while on error too, depends of what you should in propriety of labview but you can have problem after to stop your program on error.
In my computer it is working if i put the file name quickly.
But those modification can help.
Regards.
Sorry for my french english lol.
02-06-2009 07:24 AM
hi gregory,, thank you very much,,,,your english is good,,,i would like to know what is the status function that u have used???where can i find it????
rgds
Rajan
02-06-2009 07:50 AM
Hi,
The functiun is cluster unbundle by name.
Regards
02-06-2009 08:36 AM
hi Greg
thank you very much,,,but it now throws an error message saying
Error -50103 occurred at DAQmx Read (Analog 1D Wfm NChan NSamp).vi
rgds
Rajan
02-06-2009 09:02 AM
Hi,
http://digital.ni.com/public.nsf/allkb/001DA4DB6A31CF8886256D33006FA857
http://digital.ni.com/public.nsf/allkb/485201B647950BF886257537006CEB89
Put again your VI so I can test it to see if I get same error, but me from the begining no error.
02-06-2009 09:03 AM
See here: Causes of NI-DAQmx Error -50103 "The Specified Resource is Reserved".
Also, why do you have a feedback node on the error cluster?
02-06-2009 09:16 AM
Right,
I did not delete the feedback node in my answer oups !
02-06-2009 09:30 AM
02-06-2009 09:44 AM
The VI is working on my computer so look the web links from me and smercurio.