J
JayWangTPE
Guest
How to convert the code (bold text) into the one in VB.NET? Thanks!
KeyScope.Inst.WriteString "ISPLAYATA? BMP"
byteData = KeyScope.Inst.ReadIEEEBlock(BinaryType_UI1) ' Read the captured waveform screen data
'
fn = FreeFile() 'Returns an Integer representing the next file number available for use by the Open statement.
'
Open FileNameWPath For Binary Access Write Lock Write As #fn ' Open file for writing the captured waveform screen data.
Put #fn, , byteData ' Write data.
'
Close #fn ' Close file.
Continue reading...
KeyScope.Inst.WriteString "ISPLAYATA? BMP"
byteData = KeyScope.Inst.ReadIEEEBlock(BinaryType_UI1) ' Read the captured waveform screen data
'
fn = FreeFile() 'Returns an Integer representing the next file number available for use by the Open statement.
'
Open FileNameWPath For Binary Access Write Lock Write As #fn ' Open file for writing the captured waveform screen data.
Put #fn, , byteData ' Write data.
'
Close #fn ' Close file.
Continue reading...