Package mcc.mccjna
Class MCCJNA
java.lang.Object
mcc.mccjna.MCCJNA
JNA interface for Measurement Computing acquisition boards.
 
Implements C functions documented at https://www.mccdaq.com/pdfs/manuals/Mcculw_WebHelp/ULStart.htm
- Author:
 - Doug Gillespie
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInterface to the MCCLibrary JNA calls. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayList<MCCBoardInfo> static StringgetErrorMessage(int errCode) Get an error message in a string format.static StringGet the error string returned if the UL fails to load (will probably be because the library couldn't be found on the system, but may occur if the library changes are we try to load functions that no longer exist).static longstatic MCCJNA.MCCLibrary 
- 
Constructor Details
- 
MCCJNA
public MCCJNA() 
 - 
 - 
Method Details
- 
getJnaLoadError
Get the error string returned if the UL fails to load (will probably be because the library couldn't be found on the system, but may occur if the library changes are we try to load functions that no longer exist).- Returns:
 
 - 
getBoardInformation
- Returns:
 - a list of information on all installed boards. Returns null if no MCC library is available
 
 - 
getErrorMessage
Get an error message in a string format.- Parameters:
 errCode- error code- Returns:
 - Error string
 
 - 
getMccLibrary
- Returns:
 - the mccLibrary
 
 - 
getLoadNanos
public static long getLoadNanos()- Returns:
 - the loadNanos
 
 
 -