High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for vi that saves NI-scope 5922 settings and restores them.

I want to save all the 5922 setting (range, sample rate, triggering, etc.) to a file, and I want to read this file later to restore the saved settings.
 
Thanks.
0 Kudos
Message 1 of 3
(6,101 Views)

Hello Dexter,

I recommend placing an NI-Scope property node in you task configuration, after the niScope Configure Trigger VI.  Change all to read on the property node, and then select which properties you wish to read. Wire the outputs of the property node to a build array function.  Next, wire the array output of the build array function to a write to spreadsheet file VI. To retrieve these values, just read array from the spreadsheet file that you created and indes the array to retrieve the values.

Best wishes,

Wallace F.

National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(6,072 Views)
I must disagree with my esteemed colleague.  The data type of the properties is quite varied, so you cannot store them in a single array.  The property node is the easiest way to get the properties.  You can use the configuration file VIs as an easy way to store and retrieve the settings you care about.  This also allows you to group settings (e.g. put all the channel 0 settings in a single group).

Note that the property node gives you access to all the properties of all the scope cards National Instruments produces.  Many of these properties will not pertain to the 5922 (e.g. all the on-board processing abilities of the 5620).  Use the ones you care about.  You can always add more to the configuration file and the VIs allow you to specify default values, so backwards compatibility is easier.

Let us know if you have further questions.
0 Kudos
Message 3 of 3
(6,062 Views)