📄 daq2.h
字号:
i16 * opMode,
i16 * DAQboard);
//%output modulePresent
//%output opMode
//%output DAQboard
//%novectorize
extern i16 SCXI_Get_State (
i16 chassisID,
i16 module,
i16 port,
i16 channel,
i32 * data);
//%output data
//%novectorize
extern i16 SCXI_Get_Status (
i16 chassisID,
i16 module,
i16 wait,
i32 * data);
//%output data
//%novectorize
extern i16 SCXI_Load_Config (
i16 chassisID);
//%novectorize
extern i16 SCXI_MuxCtr_Setup (
i16 slot,
i16 enable,
i16 scanDiv,
u16 muxCtrVal);
//%novectorize
extern i16 SCXI_Reset (
i16 chassisID,
i16 moduleSlot);
//%novectorize
extern i16 SCXI_Scale (
i16 chassisID,
i16 module,
i16 SCXIchannel,
f64 SCXIgain,
f64 TBgain,
i16 DAQdevice,
i16 DAQchannel,
i16 DAQgain,
u32 numPoints,
i16 * binArray,
f64 * voltArray);
//%input binArray(numPoints)
//%output voltArray(numPoints)
//%novectorize
extern i16 SCXI_SCAN_Setup (
i16 chassisID,
i16 numModules,
i16 * modules,
i16 * numChans,
i16 * startChans,
i16 DAQboard,
i16 modeFlag);
//%input modules(numModules)
//%input numChans(numModules)
//%input startChans(numModules)
//%novectorize
extern i16 SCXI_Set_Config (
i16 chassisID,
i16 chassisType,
i16 address,
i16 commMode,
i16 slotOrCOMM,
i16 numSlots,
i32 * moduleTypes,
i16 * opModes,
i16 * DAQboards);
//%input moduleTypes(numSlots)
//%input opModes(numSlots)
//%input DAQboards(numSlots)
//%novectorize
extern i16 SCXI_Set_Gain (
i16 chassisID,
i16 module,
i16 channel,
f64 gain);
//%novectorize
extern i16 SCXI_Set_Input_Mode (
i16 chassisID,
i16 module,
i16 inputMode);
//%novectorize
extern i16 SCXI_Set_State (
i16 chassisID,
i16 module,
i16 port,
i16 channel,
i32 data);
//%novectorize
extern i16 SCXI_Single_Chan_Setup (
i16 chassisID,
i16 module,
i16 chan,
i16 DAQboard);
//%novectorize
extern i16 SCXI_Track_Hold_Control (
i16 chassisID,
i16 module,
i16 state,
i16 DAQboard);
//%novectorize
extern i16 SCXI_Track_Hold_Setup (
i16 chassisID,
i16 module,
i16 mode,
i16 source,
i16 send,
i16 holdCnt,
i16 DAQboard);
//%novectorize
extern i16 Select_Signal (
i16 deviceNumber,
u32 signal,
u32 source,
u32 sourceSpec);
//%novectorize
extern i16 Set_DAQ_Device_Info (
i16 deviceNumber,
u32 infoType,
u32 infoVal);
//%novectorize
extern i16 Timeout_Config (
i16 slot,
i32 numTicks);
//%novectorize
extern i16 Trigger_Window_Config (
i16 slot,
i16 mode,
u16 windowSize);
//%novectorize
extern i16 WFM_Chan_Control (
i16 slot,
i16 channel,
i16 operation);
//%novectorize
extern i16 WFM_Check (
i16 slot,
i16 channel,
i16 * status,
u32 * pointsDone,
u32 * itersDone);
//%output status
//%output pointsDone
//%output itersDone
//%novectorize
extern i16 WFM_ClockRate (
i16 slot,
i16 group,
i16 whickClock,
i16 timebase,
u32 updateInterval,
i16 mode);
//%novectorize
extern i16 WFM_DB_Config (
i16 slot,
i16 numChans,
i16 * chanVect,
i16 DBMode,
i16 oldDataStop,
i16 partialTransfer);
//%input chanVect(numChans)
//%novectorize
extern i16 WFM_DB_HalfReady (
i16 slot,
i16 numChans,
i16 * chanVect,
i16 * halfReady);
//%input chanVect(numChans)
//%output halfReady
//%novectorize
extern i16 WFM_DB_Transfer (
i16 slot,
i16 numChans,
i16 * chanVect,
i16 * buffer,
u32 cnt);
//%input chanVect(numChans)
//%output buffer(cnt)
//%novectorize
extern i16 WFM_DB_StrTransfer (
i16 slot,
i16 numChans,
i16 * chanVect,
i8 * strBuffer,
u32 cnt);
//%input chanVect(numChans)
//%output strBuffer(cnt)
//%novectorize
extern i16 WFM_from_Disk (
i16 slot,
i16 numChans,
i16 * chanVect,
i8 * fileName,
u32 startPts,
u32 endPts,
u32 iterations,
f64 rate);
//%input chanVect(numChans)
//%novectorize
extern i16 WFM_Group_Control (
i16 slot,
i16 group,
i16 operation);
//%novectorize
extern i16 WFM_Group_Setup (
i16 slot,
i16 numChans,
i16 * chanVect,
i16 group);
//%input chanVect(numChans)
//%novectorize
extern i16 WFM_Load (
i16 slot,
i16 numChans,
i16 * chanVect,
i16 * buffer,
u32 cnt,
u32 iterations,
i16 mode);
//%input chanVect(numChans)
//%input buffer(cnt)
//%novectorize
extern i16 WFM_Op (
i16 slot,
i16 numChans,
i16 * chanVect,
i16 * buffer,
u32 cnt,
u32 iterations,
f64 rate);
//%input chanVect(numChans)
//%input buffer(cnt)
//%novectorize
extern i16 WFM_Rate (
f64 rate,
i16 units,
i16 * timebase,
u32 * updateInterval);
//%output timebase
//%output updateInterval
//%novectorize
extern i16 WFM_Scale (
i16 slot,
i16 chan,
u32 cnt,
f64 gain,
f64 * voltArray,
i16 * binArray);
//%input voltArray(cnt)
//%output binArray(cnt)
//%novectorize
extern i16 AI_Scale (
i16 slot,
i16 gain,
i16 value,
f64 * voltage);
//%output voltage
//%novectorize
extern i16 AI_Config (
i16 slot,
i16 singOrDiff,
i16 range,
i16 uniOrBi);
//%nowrap
extern i16 AO_Config (
i16 slot,
i16 chan,
i16 outputPolarity,
f64 refVoltage,
i16 updateMode);
//%nowrap
extern i16 DAQ_Scale (
i16 slot,
i16 gain,
u32 cnt,
i16 * rawData,
f64 * scaledData);
//%nowrap
extern i16 DAQ_Trigger_Config (
i16 slot,
i16 preTrig,
u32 preTrigCnt);
//%nowrap
extern i16 Get_DA_Brds_Info (
i16 slot,
i16 * brdCode,
i16 * baseAddr,
i16 * irq1Lvl,
i16 * irq2Lvl,
i16 * irqTrigMode,
i16 * dma1Lvl,
i16 * dma2Lvl,
i16 * daqMode);
//%nowrap
extern i16 Lab_SCAN_Check (
i16 slot,
i16 * status,
u32 * retrieved,
i16 * finalScanOrder);
//%nowrap
extern i16 Lab_SCAN_Op (
i16 slot,
i16 numChans,
i16 gain,
i16 * buffer,
u32 cnt,
f64 sampleRate,
i16 * finalScanOrder);
//%nowrap
extern i16 Lab_SCAN_Start (
i16 slot,
i16 numChans,
i16 gain,
i16 * buffer,
u32 cnt,
i16 timebase,
u16 sampleInt);
//%nowrap
extern i16 Lab_SCAN_to_Disk (
i16 slot,
i16 numChans,
i16 gain,
i8 * fileName,
u32 cnt,
f64 sampleRate,
i16 concat);
//%nowrap
extern i16 MIO16_F5_Config (
i16 slot,
i16 dither);
//%nowrap
extern i16 MIO16_F5_Calibrate (
i16 slot,
i16 calOP,
i16 saveNewCal,
i16 EEPROMloc,
i16 CalRefChan,
i16 DAC0Chan,
i16 DAC1Chan,
f64 calRefVolts,
i16 refLoc);
//%nowrap
extern i16 Set_DAQ_Mode (
i16 slot,
i16 newDaqMode);
//%nowrap
extern i16 WF_Check (
i16 slot,
i16 chan,
i16 * status,
u32 * itersDone,
u32 * nextPoINTEGER);
//%nowrap
extern i16 WF_Clear (
i16 slot);
//%nowrap
extern i16 WF_DB_Config (
i16 slot,
i16 chan,
i16 DBmode,
i16 oldDataStop);
//%nowrap
extern i16 WF_DB_StrTransfer (
i16 slot,
i16 chan,
i8 * buffer,
u32 cnt);
//%nowrap
extern i16 WF_DB_Transfer (
i16 slot,
i16 chan,
i16 * buffer,
u32 cnt);
//%nowrap
extern i16 WF_from_Disk (
i16 slot,
i16 chan,
i8 * fileName,
u32 iters,
f64 rate,
u32 startPt,
u32 endPt);
//%nowrap
extern i16 WF_Load (
i16 slot,
i16 chan,
i16 * buffer,
u32 cnt,
u32 iterations);
//%nowrap
extern i16 WF_Op (
i16 slot,
i16 chan,
i16 * buf0,
i16 * buf1,
u32 cnt0,
u32 cnt1,
u32 iters0,
u32 iters1,
f64 rate);
//%nowrap
extern i16 WF_Pause (
i16 slot);
//%nowrap
extern i16 WF_Rate (
f64 rate,
i16 units,
i16 * timebase,
u16 * updateInt);
//%nowrap
extern i16 WF_Resume (
i16 slot);
//%nowrap
extern i16 WF_Scale (
i16 slot,
i16 chan,
u32 cnt,
f64 gain,
f64 * realArray,
i16 * intArray);
//%nowrap
extern i16 WF_Start (
i16 slot,
i16 timebase,
u16 updateInt);
//%nowrap
extern i16 WFM_UpdateRate (
i16 slot,
i16 group,
i16 timebase,
u32 updateInterval,
i16 mode);
//%nowrap
extern i16 AI_Read_Scan (
i16 slot,
i16 * reading);
//%nowrap
extern i16 AI_VRead_Scan (
i16 slot,
f64 * reading);
//%nowrap
extern i16 SCXI_Slot_Select (
i16 scxiID,
i16 module);
//%nowrap
extern i16 SCXI_Test_MISO (
i16 scxiID,
u16 * value);
//%nowrap
extern i16 DIG_DBX_HalfReady (
i16 slot,
i16 grp,
i16 * halfReady,
u32 * wraps,
u32 * scans);
//%nowrap
extern i16 USE_E_Series (
void);
//%nowrap
extern i16 USE_E_Series_AI (
void);
//%nowrap
extern i16 USE_E_Series_AO (
void);
//%nowrap
extern i16 USE_E_Series_DIO (
void);
//%nowrap
extern i16 USE_E_Series_GPCTR (
void);
//%nowrap
extern i16 USE_E_Series_GPCTR_Simple (
void);
//%nowrap
extern i16 USE_E_Series_Misc (
void);
//%nowrap
extern i16 USE_E_Series_WFM (
void);
//%nowrap
extern i16 AO_VScale (
i16 slot,
i16 chan,
f64 voltage,
i16 * value);
//%output value
extern i16 GPCTR_Change_Parameter (
i16 deviceNumber,
u32 gpCounterNumber,
u32 paramID,
u32 paramValue);
extern i16 USE_E_Series_DAQ (
void);
//%nowrap
extern i16 Get_ES_Device_Info (
i16 deviceNumber,
u32 infoType,
u32 * infoVal);
//%nowrap
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -