03-09-2007 06:01 AM
03-09-2007 07:12 AM
11-20-2009 12:12 PM - edited 11-20-2009 12:21 PM
Thank you very much, I had lost my password for this forums, so I registed a new account.
after two years I got more experience of Dasylab, and I tried to do that as your way and I had known more deeper of dasylab today.
11-23-2009 06:31 AM
Hello Allen,
the PCI-1002xx/PCI-1002xx series is from ICPDAS www.icpdas.com Please check also if you use the newest driver Release (download from ICPDAS homepage) for your DASYLab.
Best regards,
MHa
02-17-2015 09:13 AM
Hi,
Have things changed over the years?
I need to syncronise a digital output (Modul NI9474) and an analoge input (AI-Modul NI9203) module. I need to measure time intervals from a flank in signal A to a flank in signal B. I would like accuracies of the order of 1 ms. Currently, the signals are not synchronised, with errors of the order of 2 times the block length (block size x sample rate), sometimes much higher. The best I got so far was a block size of around 20 with a sample rate of 1 kHz.
If I use the master and slave settings on the RTSL settings, my program doesn't run properly.
If I use digital signals for input and output, I can syncronise them with RTSL settings and everything is good, but I can't always do that.
Also, if I do anything in the GUI (such as scrollowing something or going to another window), my output gets screwed up properly.
1. What can be done to synchronise AI with DO?
2. Is there something that can be done to avoid messing up the output when something happens in the user interface? (I know that I am messing up the outputs as they make some valves switch and that is loud).
Thanks in advance!
02-17-2015 09:27 AM
Is this a DASYLab question? If not, please repost in the appropriate forum.
It does not relate to the thread that you posted it in.
02-17-2015 09:47 AM - edited 02-17-2015 09:52 AM
Well, the original question was how to use digital output (and input) and analog input at the same time. He was also talking about how to "To internally equalize measurement time and system time in the analog input, digital input and counter hardware modules," which I thought has the purpose to sync those signals.
Yes it is a DASYLab question, as I am using DASYLab (V13) with those NI modules.
I have a problem setting up the block sizes, tasks, etc. to sync the signals properly.
02-18-2015 01:38 AM - edited 02-18-2015 01:39 AM
I do not understand:
1. You want to generate signals in DASYLab, output the signals via DOs, read the signal back via AIs - and the AIs data should be synchronized with the generated signals?
2. Or, the signals are read via AIs, you do some calculations, something is output via DOs?
3. Or, ...?
02-18-2015 02:17 AM - edited 02-18-2015 02:18 AM
- I use a signal generator to fill a digital output module,. The output will switch valves.
- I read in the actual response (pressure) of the valves using an analog input module.
In the current setup, the times are not synchronised. I.e. the time difference between the flank in my output and the corresponding reaction in the input signal depend heavily on my block-size.