Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI-6533, Changing frequency without stopping the card?

Using PXI-6533 and LabVIEW, is it possible to update the frequency (of a defined pattern) without stopping the output of the card?

0 Kudos
Message 1 of 6
(6,104 Views)

Hi JX5000,

 

You should be able to accomplish this using a DAQmx Timing Property Node to set the sample clock rate.

Josh B
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(6,085 Views)

Thanks for the reply!  Would you be able to send me an example?  I'm not sure how to apply this.

0 Kudos
Message 3 of 6
(6,078 Views)

Hi JX5000,

 

I don't have an example written for this use case, but you would use the property node in your while loop (perhaps with an event structure).  I've attached a link to the LabVIEW Help file on this property node below.  Hopefully this helps!

 

DAQmx Timing Property Node (VI)

http://zone.ni.com/reference/en-XX/help/370469AA-01/lvdaqmx/mxtimingpnode/

Josh B
Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(6,064 Views)

Hi Josh,

 

We've actually attempted to do this for a few days until we hit a wall.  We then received word from another NI Engineer stating:

 

Unfortunately, the Sample Clock Rate is not a property that can be changed while a 6534 is running.  The device has to be stopped before this property can be changed.

In general though, if this were a DAQmx device that could have this property changed while it was running, you would write to the SampClk.Rate property on a DAQmx Timing property node to accomplish this.

 

 

Just so you know.

 

Thanks,

JX

0 Kudos
Message 5 of 6
(5,976 Views)

Hi JX,

 

I'm actually the engineer that provided the information about the 6534 as well.  I apologize that it didn't register with me on this discussion possible that this wasn't possible with the 6533.  Many DAQmx devices can change this value while running and the property node is how you would accomplish this.  Unfortunately I didn't catch before that the 6533 is one of the devices that cannot do this.

Josh B
Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(5,972 Views)