ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
05-03-2006 11:29 PM
I'm trying to convert the following VB code that operates the included .NET component to LabVIEW code. I have not been able to determine how to code line 7.
Is this possible?
1. Dim ResMgr As New SCResMgr
2. ResMgr.EstablishContext(SCardContextScope.System)
3. Dim Reader As New SCReader(ResMgr)
4. Dim ReaderList As New ArrayList
5. ResMgr.ListReaders(ReaderList)
6. Dim strReaderName As String
7. strReaderNames = ReaderList.ToArray(GetType(System.String)
I included how I coded lines 1 through 5.
THANKS.
05-04-2006 09:46 AM