04-11-2012 12:05 AM
I am using configuired acquisition to acquire signal in NI PCI 5105 in visual studio 2008. The other signals are fine but when I give a TTL signal input having a low duty cycle, it can not detect the TTL signal. Is it because it has low duty cycle? The signals that are coming only shows the value around 0. I tried to connect the same signal to NI Scope front panel and it is showing the correct signal. What can I do to solve this problem? I've attached a screen capture of scope front panel. Here we can see the trigger signal in channel 1 but this signal can not be seen using configured acquision.cs. Please help..
04-11-2012 03:07 PM
Hi,
How low is your duty cylce? Is configured acquisition.cs example code or something you have written? Are you able to trigger if you increase your duty cycle?
04-11-2012 08:35 PM
The duty cycle is as low as 0.4% I have used configured acquisition.cs that NI has provided and made some changes in it. I even tried with the unchanged code but it is not showing the TTL signal. I used the 1 KHz sinusoidal signal in the same channel and its working fine. Please help me with this.
04-12-2012 03:39 PM
Hi Paritosh,
It seems your duty cycle is very low. The duty cycle tolerance for the PCI-5105 is 45% to 55%. Specifications on the duty cycle are listed on page 11 of the PCI-5105 Manual. Does that help to answer your question?
Regards,
Travis Ann
04-13-2012 01:15 AM
But I am getting the signal in Scope Soft Front panel as you can see in the attachement in my previous post. Also, I used the same TTL signal as a trigger in a labview program. I need this signal in channel 1 to act as a trigger for channel 0 source.
04-16-2012 11:11 AM
Hi Paritosh,
Can you clarify for me how you have you triggering configured? I see that in your SCOPE Soft Front Panel shows that you are using rising edge trigger CH 0 (sine wave) to trigger CH 1 (TTL), but you describe that your code is trying to trigger off of CH 1 (TTL) to trigger CH 0 (sine wave).
Also, what is the frequency and voltage range of these signals?
Regards,
Travis Ann
04-17-2012 02:36 AM
The trigger in the attached picture is just to test. The real trigger will be the TTL signal in channel 1. The TTL signal is a rising edge trigger in channel 1. The frequency is maximum of 1 KHz but it sometimes can go down to 200 Hz or 500 Hz as well. The voltage is around 4 volt and the trigger level is around 3.5 V.
04-18-2012 01:25 PM
Hi Paritosh,
From what you are describing, it sounds like what you have set up should work. Could you post some screenshots of your set up so we could take a deeper look?
Regards,
Travis Ann
04-24-2012 02:33 AM
Sorry for replying late..Actually I managed to get the TTL signal as a trigger as you can see in the attached image. However, the data acquiring rate is too slow although the data is coming to the digitizer at 1 KHz. I am taking 500 records for each signal. How can I speed up the acquisition time? Please help me on this..
04-25-2012 01:41 PM - edited 04-25-2012 01:42 PM
Hi Paritosh,
The acquiring sample rate is set in the Configure Horizontal Time function in the NiScope driver, so if you want to acquire at a faster rate, you will implement that in your code. You are limited to the overall acquisition rate of the card, which in your case is 60MS/s.
Regards,
Travis Ann