02-04-2014 06:15 AM
Hi all,
Actually, i am trying to actuate my system in three differnt direction and measuring the frequency by using three capacitive sensors. the synchronization is an important issue in my project. I need to actuate (vibrate) the three actuators simultaneously and measuring the resonant frequency . however, i am facing problem with synchronization . I am trying to run the code but give me an error as can be seen in attached file.
I am using NI cDAQ-9172 to acquire and send the signals.
Could you please help me at this point.
02-04-2014 06:17 AM
Sorry I forgot to attach the image of the error
02-04-2014 01:05 PM
any help would be appreciated
02-06-2014 05:07 AM
Hi engkhalid,
What C-Series modules are you using in your chassis?
It seems this error is more linked with a hardware issue - it may be worthwhile checking through the steps in this KB:
http://digital.ni.com/public.nsf/allkb/61371556441E5FF68625730600775934
02-06-2014 05:24 AM
Hi aransena,
Actually, I have solved this proble by reset the Daqmx and it is working. However, I am facing another problem. I need to make the Dc voltage active while the code is running. I have located the generating signal inside the loop but doesnot work. could you please help me at this point.
Best regards,
Khalid
02-06-2014 07:07 AM
Hi
I have place the generiating siginal with DAQ.mx write inside the loop, but still have an error. I have attached the Vi file . Could you plase help at this point.
Khalid
02-07-2014 03:20 AM
Hi,
Is it the same error as before, or a new error which is appearing?
02-07-2014 10:00 AM
Hi,
it is new error.
Khalid
02-07-2014 10:39 AM
Hi Khalid,
Please elaborate on the error you are encountering so I can give you specific help.
Having looked at your code, I believe one issue may be that you're attempting to start your waveform output with an empty buffer (i.e. the first time you run the program and want to Start the task, you must first use a DAQmx write).
See this example for further details on this possible solution, but please do elaborate on the issue if this does not resolve the error: http://www.ni.com/example/29872/en/
02-07-2014 10:42 AM
Hi arana,
I am trying to make the dc voltage active. I have tried to locate the the generating signal inside the loop but it does not work.
Khalid