Retreiving a Numeric Value for a DSA Module's Sampling Rate in LVFPGAPrimary Software: LabVIEW Modules>>FPGA ModulePrimary Software Version: 8.6.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: Using a IO Property Node, I can retrieve the data rate enum from a Dynamic Signal Acquisition module. However, this enum does not provide a numeric value for the sampling rate (50k), but rather a value for the enum (2). I want to get the numeric value for the sampling rate programatically so I can use it in my code. Is there a straightforward way to do this? Solution: Using the StringsAndValues property node, the values for the corresponding enum numbers can be extracted. After obtaining this data, it can be converted to a constant and referenced in LV FPGA to determine what enum value means what data rate. This technique in practice can be seen in Figure 1 and the attached VI. ![]() Figure 1 Related Links: Product Manuals: C Series Manuals Attachments:
Report Date: 06/01/2009 Last Updated: 06/03/2009 Document ID: 4Y0DLNBP |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

