📄 ni488-2.h
字号:
/** >Communications
*/
extern int __stdcall ibcac(int ud, int v);
/** >Communications
*/
extern int __stdcall ibclr(int ud);
/** >Communications
*/
extern int __stdcall ibcmd(int ud, PVOID buf, long cnt);
/** >Communications
*/
extern int __stdcall ibcmda(int ud, PVOID buf, long cnt);
/** >Communications
*/
extern int __stdcall ibconfig(int ud, int option, int v);
/** >Communications
*/
extern int __stdcall ibdev(int boardID, int pad, int sad, int tmo, int eot, int eos);
/** >Communications
*/
extern int __stdcall ibdiag(int ud, PVOID buf, long cnt);
/** >Communications
*/
extern int __stdcall ibdma(int ud, int v);
/** >Communications
*/
extern int __stdcall ibeos(int ud, int v);
/** >Communications
*/
extern int __stdcall ibeot(int ud, int v);
/** >Communications
*/
extern int __stdcall ibgts(int ud, int v);
/** >Communications
*/
extern int __stdcall ibist(int ud, int v);
/** >Communications
*/
extern int __stdcall iblines(int ud, PSHORT result);
/** >Communications
*/
extern int __stdcall ibln(int ud, int pad, int sad, PSHORT listen);
/** >Communications
*/
extern int __stdcall ibloc(int ud);
// Origin C did not support callback function in this version
// extern int __stdcall ibnotify (int ud, int mask, GpibNotifyCallback_t Callback, PVOID RefData);
/** >Communications
*/
extern int __stdcall ibonl(int ud, int v);
/** >Communications
*/
extern int __stdcall ibpad(int ud, int v);
/** >Communications
*/
extern int __stdcall ibpct(int ud);
/** >Communications
*/
extern int __stdcall ibpoke(int ud, long option, long v);
/** >Communications
*/
extern int __stdcall ibppc(int ud, int v);
/** >Communications
*/
extern int __stdcall ibrd(int ud, PVOID buf, long cnt);
/** >Communications
*/
extern int __stdcall ibrda(int ud, PVOID buf, long cnt);
/** >Communications
*/
extern int __stdcall ibrpp(int ud, PCHAR ppr);
/** >Communications
*/
extern int __stdcall ibrsc(int ud, int v);
/** >Communications
*/
extern int __stdcall ibrsp(int ud, PCHAR spr);
/** >Communications
*/
extern int __stdcall ibrsv(int ud, int v);
/** >Communications
*/
extern int __stdcall ibsad(int ud, int v);
/** >Communications
*/
extern int __stdcall ibsic(int ud);
/** >Communications
*/
extern int __stdcall ibsre(int ud, int v);
/** >Communications
*/
extern int __stdcall ibstop(int ud);
/** >Communications
*/
extern int __stdcall ibtmo(int ud, int v);
/** >Communications
*/
extern int __stdcall ibtrg(int ud);
/** >Communications
*/
extern int __stdcall ibwait(int ud, int mask);
/** >Communications
*/
extern int __stdcall ibwrt(int ud, PVOID buf, long cnt);
/** >Communications
*/
extern int __stdcall ibwrta(int ud, PVOID buf, long cnt);
// GPIB-ENET only functions to support locking across machines
/** >Communications
*/
extern int __stdcall iblock(int ud);
/** >Communications
*/
extern int __stdcall ibunlock (int ud);
// Functions to access Thread-Specific copies of the GPIB global vars
/** >Communications
*/
extern int __stdcall ThreadIbsta(void);
/** >Communications
*/
extern int __stdcall ThreadIberr(void);
/** >Communications
*/
extern int __stdcall ThreadIbcnt(void);
/** >Communications
*/
extern long __stdcall ThreadIbcntl(void);
// NI-488.2 Function Prototypes
/** >Communications
*/
extern void __stdcall AllSpoll(int boardID, Addr4882_t * addrlist, PSHORT results);
/** >Communications
*/
extern void __stdcall DevClear(int boardID, Addr4882_t addr);
/** >Communications
*/
extern void __stdcall DevClearList(int boardID, Addr4882_t * addrlist);
/** >Communications
*/
extern void __stdcall EnableLocal(int boardID, Addr4882_t * addrlist);
/** >Communications
*/
extern void __stdcall EnableRemote(int boardID, Addr4882_t * addrlist);
/** >Communications
*/
extern void __stdcall FindLstn(int boardID, Addr4882_t * addrlist, Addr4882_t * results, int limit);
/** >Communications
*/
extern void __stdcall FindRQS(int boardID, Addr4882_t * addrlist, PSHORT dev_stat);
/** >Communications
*/
extern void __stdcall PPoll(int boardID, PSHORT result);
/** >Communications
*/
extern void __stdcall PPollConfig(int boardID, Addr4882_t addr, int dataLine, int lineSense);
/** >Communications
*/
extern void __stdcall PPollUnconfig(int boardID, Addr4882_t * addrlist);
/** >Communications
*/
extern void __stdcall PassControl(int boardID, Addr4882_t addr);
/** >Communications
*/
extern void __stdcall RcvRespMsg(int boardID, PVOID buffer, long cnt, int Termination);
/** >Communications
*/
extern void __stdcall ReadStatusByte(int boardID, Addr4882_t addr, PSHORT result);
/** >Communications
*/
extern void __stdcall Receive(int boardID, Addr4882_t addr, PVOID buffer, long cnt, int Termination);
/** >Communications
*/
extern void __stdcall ReceiveSetup(int boardID, Addr4882_t addr);
/** >Communications
*/
extern void __stdcall ResetSys(int boardID, Addr4882_t * addrlist);
/** >Communications
*/
extern void __stdcall Send(int boardID, Addr4882_t addr, PVOID databuf, long datacnt, int eotMode);
/** >Communications
*/
extern void __stdcall SendCmds(int boardID, PVOID buffer, long cnt);
/** >Communications
*/
extern void __stdcall SendDataBytes(int boardID, PVOID buffer, long cnt, int eot_mode);
/** >Communications
*/
extern void __stdcall SendIFC(int boardID);
/** >Communications
*/
extern void __stdcall SendLLO(int boardID);
/** >Communications
*/
extern void __stdcall SendList(int boardID, Addr4882_t * addrlist, PVOID databuf, long datacnt, int eotMode);
/** >Communications
*/
extern void __stdcall SendSetup(int boardID, Addr4882_t * addrlist);
/** >Communications
*/
extern void __stdcall SetRWLS(int boardID, Addr4882_t * addrlist);
/** >Communications
*/
extern void __stdcall TestSRQ(int boardID, PSHORT result);
/** >Communications
*/
extern void __stdcall TestSys(int boardID, Addr4882_t * addrlist, PSHORT results);
/** >Communications
*/
extern void __stdcall Trigger(int boardID, Addr4882_t addr);
/** >Communications
*/
extern void __stdcall TriggerList(int boardID, Addr4882_t * addrlist);
/** >Communications
*/
extern void __stdcall WaitSRQ(int boardID, PSHORT result);
#endif // !_NI488_2_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -