コード例 #1
0
 protected dynamic ReadIEEEBlock(IEEEBinaryType type, bool seekToBlock = false, bool flushToEND = true)
 {
     if (DriverIsReady)
     {
         try {
             return(_driver.ReadIEEEBlock(type, seekToBlock, flushToEND));
         }
         catch (Exception ex) {
             Close();
             throw ex;
         }
     }
     else
     {
         throw new System.InvalidOperationException("Cannot execute ReadIEEEBlock(...). Driver not initialized or is closed.");
     }
 }
コード例 #2
0
 public double[] ReadIeeeBlock(string cmd, IEEEBinaryType binaryType)
 {
     MyIo.WriteString(cmd, true);
     return((double[])MyIo.ReadIEEEBlock(binaryType, true, true));
 }
コード例 #3
0
 public float[] WRITE_READ_IEEEBlock(string cmd, IEEEBinaryType type)
 {
     _myVisaEq.WriteString(cmd, true);
     return((float[])_myVisaEq.ReadIEEEBlock(type, true, true));
 }
コード例 #4
0
 public float[] READ_IEEEBlock(IEEEBinaryType type)
 {
     return((float[])_myVisaEq.ReadIEEEBlock(type, true, true));
 }