Home
Community
Discussion Forums
Most Active Hardware Boards
Instrument Control (GPIB, Serial, VISA, IVI)
Topic
Instrument Control (GPIB, Serial, VISA, IVI)
Register
·
Login
·
Help
Community
Category
Board
Documents
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Topic Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
All Forum Topics
Previous Topic
Next Topic
Can I get incoming byte count prior to CNiVisaSession::Read()?
Can I get incoming byte count prior to CNiVisaSession::Read()?
dahill
Member
08-11-2005
07:11 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
I would like to determine how many bytes have arrived via the COMM port prior to specifying the count in the CNiVisaSession::Read(buffer, count, actual_count)? This way I could avoid timing out due to an overcount.
-dahill
0
Kudos
Message
1
of 2
(3,116 Views)
Reply
Re: Can I get incoming byte count prior to CNiVisaSession::Read()?
Glenn Burnside
Member
08-12-2005
09:29 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
you can check the
VisaSerialBytesAvailable attribute. It returns an unsigned int 32 value.
1
Kudo
Message
2
of 2
(3,111 Views)
Reply
All Forum Topics
Previous Topic
Next Topic