FieldPoint Extended Commands (Recommended)
National Instruments recommends using the FieldPoint extended commands whenever possible. The cFP-180x supports only the extended commands and the Power Up Clear command.
Extended commands do not accept [positions] masks that do not address any channels.
Command Name | Command Syntax | Success Response |
---|---|---|
Utility Commands | ||
Execute Channel Command | !n[positions]{[command type][command] pairs} |
A |
Hotswap Reporting Mode | !b[flag] | A |
Read All Module IDs | !B | A[number][modarray] |
Read Bank Status | !P | A[bank_status] |
Read Channel Status | !O[positions] | A[chnl_status] |
Read Firmware Revision | !e | |
Read Module ID | !A | A[modID] |
Read Module Status | !N | A[mod_status] |
Resend Last Response | !c | A |
Reset Module | !Z | A |
Configuration Commands | ||
Get Attributes | !E[positions]{[attrMask] [rangeMask] pairs} |
A{[settings] array} |
Set Attributes | !D[positions]{[attrMask] [rangeMask] [settings] triplets} |
A |
Discrete Commands | ||
Read Discrete | !J | A[data] |
Read Discrete with Status | !K | A[status][data] |
Write Discrete | !L[positions][data] | A |
Write Discrete with Status | !M[positions][data] | A[status] |
Analog Commands | ||
Read 16-Bit Data | !F[positions] | A[data] |
Read 16-Bit Data with Status | !G[positions] | A[status][data] |
Write 16-Bit Data | !H[positions][data] | A[positions][data] |
Write 16-Bit Data with Status | !I[positions][data] | A[status] |
Watchdog Commands | ||
Get Watchdog Info | !U | A[moduleInfo] [chnlEnable] [chnlWdgData] |
Set 16-Bit Watchdog Data | !S[positions][wdgData] | A |
Set Discrete Watchdog Data | !R[positions][wdgData] | A |
Set Watchdog Data Status | !T[positions][mask] | A |
Set Watchdog Delay | !Q[wdgTmo] | A[wdgTmo] |
Snapshot/Programmable Power-Up Commands |
||
Read Snapshot Status | !Y | A[status] |
Store 16-Bit Data | !g[positions][data] | A |
Store 16-Bit Watchdog Data | !j[positions][wdgData] | A |
Store Attributes | !f[positions]{[attrMask] [rangeMask] [settings] triplets} |
A |
Store Discrete | !h[positions][data] | A |
Store Discrete Watchdog Data | !i[positions][wdgData] | A |
Store Snapshot | !W | A |
Store Watchdog Data Status | !k[positions][mask] | A |
Store Watchdog Delay | !V[wdgTmo] | A |
Store Watchdog Enable | !l[wdgTmo] | A |
Use Snapshot | !X[flag] | A[flag] |