![]() This VI simply fetches a reference to the latest datapackage received by the SmartScope driver. It is important to have all of this data in one package, to ensure all data from different channels was acquired at the same moment in time. A datapackage is a coherent set of information, containing the acquired data for all channels as well as information regarding the configuration used during the acquisition. This ensures acquisitions are made with a complete configuration.Īt any moment, you can fetch the latest datapackage from SmartScope. Using the previously described VIs, all changes you make are made in shadow registers, which are copied in 1 shot to the real registers only when you call the CommitSettings VI. Any changes you make through the previous VIs will have no effect until the CommitSettings VI is called. TriggerLevel: The voltage, when being crossed, causing a trigger event to occurĪn understanding of this VI is quite important.EdgeType: This VI only supports Rising, Falling or Any edge.Channel: Which analog channel you want to trigger on.This VI allows you to configure a basic analog trigger, using the following inputs: TriggerHoldoff: specifies the position of the trigger, in seconds, relative to the center of the Viewport.ViewportLength: allows you to define the length of the sequence to acquire, in seconds, and adjusts the sampling rate so the Viewport buffer of 2048 samples correspond to this length.If you want to have more control over the timing settings including on-board RAM, see the last section of this page. This VI is a simplified version which allows you to define very basic timing settings. Channel: last but not least, you should specify whether you’re configuring Channel A or Channel B.AC coupling allows to zoom in on signals with small amplitude but large offsets. DC coupling results in absolute voltages, while AC coupling first subtracts the mean value from the signal before being digitized. Coupling: This input terminal allows you to specify whether you want to have AC or DC coupling.For example, if you want to measure signals between 0V and 12V, setting the voltage range to 12V and the offset to 6V will result in the highest measurement resolution. This allows you to zoom in on a certain voltage range not centered around 0V. Offset: The value you specify here will be physically added or subtracted from the input voltage.Note that in order to get the finest resolution for your signal, it is best to set the voltage range as small as possible, while still making sure your entire signal can fit within that range. Voltage range: Simply pass it the largest amplitude you expect to measure, and the SmartScope will automatically change its dividing and multiplying stages in order to optimize its range for this amplitude.This VI allows you to configure the analog input channels of the SmartScope. It is important to note that all changes will only take effect after you’ve executed the CommitSettings.vi. This includes voltage ranges of the analog inputs, or the depth of the on-board RAM. In practice, this means the dataflow in your block diagram will be blocked until a SmartScope becomes available.Īt some point in your application, you will want to configure the acquisition settings of the SmartScope. The output of this VI is a reference to the SmartScope, and is needed for all other LabNation VI blocks. Once detected, this VI will upload a basic configuration to the SmartScope and cause it to enter Running mode. This can be a SmartScope connected locally on the USB port, or a SmartScope shared over the network using the SmartScopeServer. When executed, this VI polls every 500ms whether a SmartScope is detected. This phase searches for a physical SmartScope, and returns a reference to the SmartScope which is needed by all other LabNation Vis. This section lists them, together with all VIs for each phase. When using the SmartScope in LabView, there are 3 phases to go through. Using the SmartScope in a LabView application The DemoGUI.vi is probably the file you'll want to try out first. Extract these files to any location you want. You can either clone the repo, or if you like it simple you can simply hit the 'Clone or Download' button and select Download. Simply head to our LabView repo on GitHub and get those files on your PC. 4 Accessing more advanced LabNation.DeviceInterface functionality.2.3 Phase3: Reading out SmartScope data.2.1 Phase1: Initializing the SmartScope.2 Using the SmartScope in a LabView application.1 Downloading the SmartScope LabView VI's. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |