08-04-2003 10:37 AM
08-05-2003 01:53 PM
There are no NI-SCOPE functions to automatically do an autosetup on two synchronized 5112s. However, you can use niScope Auto Setup.vi on each of the 5112s individually, then reset the slave trigger parameters back to digital with the proper source. The other synch parameters (clock out/in, synch pulse, trigger out) should not be effected by the auto setup.
If the autosetup routine cannot find a signal on either channel, it will return a warning. If autosetup cannot detect a signal on a particular channel, it will set the lowest possible vertical range. To find out if there is a signal on a particular channel, take a short data set and look at it. NI-SCOPE does not provide a way to get this information any other way. If you know your signals wi
ll always produce a range greater than the smallest range of the 5112, you can use the vertical range as the way of telling that no signal was detected.
You can query almost any current parameter from the driver using property nodes. The vertical range is channel specific, so first set the Active Channel, then query for Vertical->Vertical Range. A word of warning when querying parameters. NI-SCOPE is IVI compliant, so the values you get from querying the property nodes are based on the IVI specification, not the NI-SCOPE LabVIEW API. Sources will always be strings and some properties have the same format, but different mappings. For example, the trigger slope in the LabVIEW API is mapped 0-positive, 1-negative. If queried from the property node, 0 is negative and 1 is positive due to the IVI spec. There are not many of these. You can easily find them by looking in the block diagram of the set VIs for look-up tables (array constants).
Good luck! If you
still need more help, post a reply