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
How to purge com in VISA 2.6/2.61?
How to purge com in VISA 2.6/2.61?
km9394
Member
10-16-2003
03:10 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
I need to do code migration of a program involve serial actions, from Visual C++ to LabWindow/CVI.
However, I don't know how to purge com. There is no equivalent function to "CommPurge". Is there any method to purge com in CVI?
0
Kudos
Message
1
of 2
(3,259 Views)
Reply
Re: How to purge com in VISA 2.6/2.61?
Dan_Mondrik
Active Participant
10-17-2003
10:56 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
Just make the following call:
viFlush (vi,VI_IO_IN_BUF_DISCARD|VI_IO_OUT_BUF_DISCARD);
Dan Mondrik
National Instruments
0
Kudos
Message
2
of 2
(3,259 Views)
Reply
All Forum Topics
Previous Topic
Next Topic