Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI 4551 Swept Sine Analysis

Hi,

 

I am generating a swept sine signal using the Sound and Vibration toolkit V 4.0 Traditional Daq drivers and NI PCI 4551 Device.

The custom Frequency List is 0.5,1,2,3,4,5,6,7,8,9,10 Hz.

However I found that the code hangs in the AI start.vi >> AI Control.vi

This happens once in five or seven times.

I have attached the Bit map to show where exactly the code hangs

However, one can open the SVT Start Swept Sine (Traditional Daq).vi to follow the same.

One thing which is worrying about this VI is,

When I opened the advanced help of the sub vi SVT Start Swept Sine (Traditional Daq).vi under AO Trigger and Gate Config.vi, it says that the AI Start Trigger input to

Trigger or gate source terminal is not supported for PCI 4551 device. Is this, because of which the code hangs?

 

Waiting for a reply

Kindly let me know if any further clarifications are required

 

Thanking You,

K.Narayanan.

Download All
0 Kudos
Message 1 of 5
(7,982 Views)

Hello Mr. Narayanan,

 

You are correct at your assumption that the SVT Start Swept Sine (Traditional Daq).vi  is causing the problem. As you stated, that 4551 does not support AI triggering which causes your code to hang since the initialization and configuration of the swept sine was not accomplished properly. You can do swept sine analysis with the 4551 but you can't use the sine and vibration toolkit for this. You will have to use the NI-DSA driver. For more info on how to accomplish this, please refer to this knowledge base.

 

Also, you can try using the SXVXMLP_Getting Started With Swept Sine (traditional daq).vi given in the example finder, but you will have to use different hardware. The support hardware for this example is listed in the Requirements section of the Example Finder once you have selected the example program. Basically you can use wide variety of daq cards or if you have to stay with DSA boards then you will have to move to the 446X family.

 

I hope this helps. Please let me know if you have any additional questions or concerns.

 
Regards,
Natasa
0 Kudos
Message 2 of 5
(7,935 Views)
The Trad DAQ Swept Sine examples in SVT do work for the PCI-4551, so I think there is something else going on here. 
 
You mentioned that the error you get is intermittant, is that correct?  By using just Trad DAQ examples for acquisition or generation, can you narrow down the problem?  I would start with just a finite acquisition, then triggered, etc.  until you can see some kind of pattern with the error you are getting. 
 
-Jack
0 Kudos
Message 3 of 5
(7,916 Views)

Hi all,

Thanks for the support.

However recently i discovered that the Green Led on my PCI 4551 Device does not glow or blink and when this happens that is when my code/vi hangs.

My assumption was that the device will word correctly if i reset the device using "Reset device.vi" in traditional daq, however, i discovered that this does not help.

i ran the reset device.vi seperately and found that this switches off the Green Blinking Led on the PCI 4551 device because of which the code will not execute any further.

However when is used the sound and vibration examples i tested vi for about 20 times continuously and it ran perfectly fine on the PCI 4551 device without any interruption of the execution.

I think the issue lies in reseting the device.

Also i have given a new post to understand what it means if the green led does not glow or flashes.

It would be helpful if you let me know the same.

Thanking You Again,

Naru

0 Kudos
Message 4 of 5
(7,820 Views)

Hello Naru,

 

The NI 4551 has a green LED that flashes at power up. This LED indicates that the onboard processor is running in the NI-DAQ-compatible mode and is ready to acquire or generate data. If the light is off then the device is not active and you can't communicate to it. This is normal behavior after the code hangs, however the light should be on after the device is reset.  The NI 4551has four red LEDs that National Instruments currently uses for internal debugging purposes. The state of these red LEDs has no significance to your application.

 

Do you get the same behavior when you reset the device in MAX?

Please refer to the answer on your post for more info on device reset and its LEDs.

Regards,
Natasa
0 Kudos
Message 5 of 5
(7,785 Views)