How do I detect MXI2 card programatically with VB or VC++
How do I detect MXI2 card programatically in VB or VC.
Sunil,
A National Instruments PCI-MXI-2 and/or VXI-MXI-2 can be detected programatically a number of ways. The most fundamental and portable, and best code practice, is to use VISA functions detect and identify all VXI modules, including the controller (in this case, MXI-2). A "VISA Find Resources" function will provide a list of all controllers and instruments on the system. All VXI devices will be found with a VISA resource of the form "VXIx::LA::INSTR", where "x" is the system number (typically 0) and LA is the device's logical address. After you retrieve the list of all VXI devices with a "VISA Find Resources", you can then use "viGetAttributes" to read manufacturer and model from the instruments for specific identification.
This method uses the VXI and
VISA standards, so it will work not only with MXI-2, but any other controller you choose to use in the future, even if it is a non-National Instruments controller. This portability is one of the major advantages to using VISA.
You can download VISA from the ni.com web page at the following link:
http://digital.ni.com/softlib.nsf/display?ReadForm&lookup=NI-VISA&view=current&node=132060_US
When you install VISA, you will have a an examples directory (for example, c:\vxipnp\Win95\NIVisa\Examples). In this Examples directory are examples for C, VB4, and VB5. One of the "General" examples is a VISA Find Resources Example. You could easily modify this example to detect manufacturer and model of the found devices.
Regards,
Greg Caesar
Applications Engineer
National Instruments
Similar Messages
-
Skype can't detect sound card, issue with playback...
Hello
I have just received my Razer kraken 7.1 headset and have installed razer synapse 2.0. I have set up my mic and speakers of the headset through the control panel, my playback is set as the razer kraken 7.1 earphone and the mic is set as the headset microphone through the recording tab. When I launch skype there is no sound produce through the application, however with previous headsets there has been, I have tried going on youtube to see if sound comes through the headset and it does. Previously I have been using a turtle beach z11 which used 3.5mm jacks in to the computer however this new headset is usb operated. When skype opens and I try to call someone it says problem with playback device meaning I can't call anyone at all. However when checking call quality it says everything is working fine even though it isn't.
So far I have tried re-installing skype and restarting my pc none of this has worked so far, I know this isn't likely a fault with the headset as it works with all other programmes I have tried.
I am using a custom built pc with
OS: WIN7 64 BIT Home Premium
GPU: AMD HD7950
CPU: i5-3550
RAM: 8gb 1333mhz
Motherboard: Asus p67 series
Sound card: Onboard 7.1 audio
Any help with my problems would be much appreciated.
-Thanks
George Snell@gsnell, Please setup your audio device directly in Skype and not only in the windows playback/record interface.
Also, please try to quit synapse 2.0 since it may interfere with Skype.
Also please try with the latest 6.13 version
www.skype.com/en/download-skype/skype-for-windows/downloading/
if nothing helps, Can you please provide logs as described in this link https://support.skype.com/en/faq/FA12321/how-do-i-create-log-files under Skype for Windows Desktop and attach it to your post?
Thank you -
How to imlement Balance Score Card system with EHP-7
Hi Experts,
How can we setup the system as per Balance score card & integrate it with ECM for payment of incentives,bonus based on performance.
Compensation Admin>> Guidlines>Matrix>System has option of MBO, how can we mapp Balance Score card system into the system.
Can any one ples help.Hi Experts,
Can anybody please guide me on how to go ahead with this. -
How to Populate the JTable Object programatically with SQL Results
I'm wondering if someone could help me on how to populate the JTable Object with SQL Results wherein the Row of tjhe JTable object is automatically adjusted depending on how many records you have queried.
Thanks in advance and God bless! (",)
* frmMain.java
* Created on October 4, 2006, 6:15 AM
package tds;
import java.io.*;
import java.awt.Toolkit;
import javax.swing.JFrame;
import javax.imageio.*;
import javax.swing.JFrame;
import java.sql.*;
import javax.swing.table.DefaultTableModel;
* @author Dexter.Carlit
public class frmMain extends javax.swing.JFrame {
private Connection connection = null;
private DefaultTableModel model;
/** Creates new form frmMain */
public frmMain() {
initComponents();
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
private void initComponents() {
jSplitPane = new javax.swing.JSplitPane();
jScrollPane1 = new javax.swing.JScrollPane();
jPanel3 = new javax.swing.JPanel();
jScrollPane2 = new javax.swing.JScrollPane();
jTree1 = new javax.swing.JTree();
jTabbedPane1 = new javax.swing.JTabbedPane();
jPanel1 = new javax.swing.JPanel();
jPanel4 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jTextField1 = new javax.swing.JTextField();
jTextField2 = new javax.swing.JTextField();
jLabel3 = new javax.swing.JLabel();
jTextField3 = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
jTextField4 = new javax.swing.JTextField();
jPanel5 = new javax.swing.JPanel();
jScrollPane3 = new javax.swing.JScrollPane();
jGrid = new javax.swing.JTable();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jProgressBar1 = new javax.swing.JProgressBar();
jPanel2 = new javax.swing.JPanel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowOpened(java.awt.event.WindowEvent evt) {
formWindowOpened(evt);
getAccessibleContext().setAccessibleName("frmMain");
jSplitPane.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
jSplitPane.setDividerLocation(200);
jSplitPane.setDividerSize(10);
jScrollPane2.setViewportView(jTree1);
org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
jPanel3.setLayout(jPanel3Layout);
jPanel3Layout.setHorizontalGroup(
jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel3Layout.createSequentialGroup()
.add(jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 916, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jScrollPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 410, Short.MAX_VALUE)
jScrollPane1.setViewportView(jPanel3);
jSplitPane.setLeftComponent(jScrollPane1);
jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jLabel1.setText("First Name:");
jLabel2.setText("Last Name:");
jLabel3.setText("Position :");
jLabel4.setText("Department:");
jPanel5.setBorder(javax.swing.BorderFactory.createTitledBorder("Search Results"));
jGrid.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
new String [] {
"LName", "FName", "Position", "Department", "Office No", "Local No", "Office Mobile No", "Home No", "MobileNo", "Email Address"
jGrid.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
jGrid.setColumnSelectionAllowed(true);
jGrid.setName("");
jGrid.setTableHeader(jGrid.getTableHeader());
jScrollPane3.setViewportView(jGrid);
jScrollPane3.getAccessibleContext().setAccessibleName("rset");
org.jdesktop.layout.GroupLayout jPanel5Layout = new org.jdesktop.layout.GroupLayout(jPanel5);
jPanel5.setLayout(jPanel5Layout);
jPanel5Layout.setHorizontalGroup(
jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jScrollPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 386, Short.MAX_VALUE)
jPanel5Layout.setVerticalGroup(
jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jScrollPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 175, Short.MAX_VALUE)
jButton1.setText("Find");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton1MouseClicked(evt);
jButton2.setText("Clear");
jButton2.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton2MouseClicked(evt);
org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4);
jPanel4.setLayout(jPanel4Layout);
jPanel4Layout.setHorizontalGroup(
jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel4Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4Layout.createSequentialGroup()
.add(jLabel1)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jTextField1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 343, Short.MAX_VALUE))
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4Layout.createSequentialGroup()
.add(jLabel2)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jTextField2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 343, Short.MAX_VALUE)
.add(1, 1, 1))
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4Layout.createSequentialGroup()
.add(jLabel3)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jTextField3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jLabel4)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jTextField4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE))
.add(jPanel4Layout.createSequentialGroup()
.add(jButton1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 66, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jButton2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 66, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
.addContainerGap())
jPanel4Layout.linkSize(new java.awt.Component[] {jButton1, jButton2}, org.jdesktop.layout.GroupLayout.HORIZONTAL);
jPanel4Layout.setVerticalGroup(
jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel4Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel1)
.add(jTextField1))
.add(18, 18, 18)
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel2)
.add(jTextField2))
.add(16, 16, 16)
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel3)
.add(jTextField3)
.add(jLabel4)
.add(jTextField4))
.add(14, 14, 14)
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jButton2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.add(jButton1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jPanel5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.add(org.jdesktop.layout.GroupLayout.LEADING, jProgressBar1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 438, Short.MAX_VALUE))
.addContainerGap())
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jProgressBar1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
jTabbedPane1.addTab("Search", jPanel1);
org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(0, 458, Short.MAX_VALUE)
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(0, 401, Short.MAX_VALUE)
jTabbedPane1.addTab("Directory", jPanel2);
jSplitPane.setRightComponent(jTabbedPane1);
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jSplitPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 675, Short.MAX_VALUE)
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jSplitPane)
pack();
}// </editor-fold>//GEN-END:initComponents
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
}//GEN-LAST:event_jButton1ActionPerformed
private void jButton2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton2MouseClicked
jGrid.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{null, null, null, null, null, null, null, null, null, null},
{null, null, null, null, null, null, null, null, null, null},
{null, null, null, null, null, null, null, null, null, null},
{null, null, null, null, null, null, null, null, null, null}
new String [] {
"LName", "FName", "Position", "Department", "Office No", "Local No", "Office Mobile No", "Home No", "MobileNo", "Email Address"
jGrid.updateUI();
}//GEN-LAST:event_jButton2MouseClicked
private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton1MouseClicked
try {
//Load and register SQL Server driver
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
//Establish a connection
Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://X.X.X.X:1433","MyAccount","MyPassword");
//Create a Statement object
Statement sql_stmt = connection.createStatement();
//Create a ResultSet object, execute the query and return a
// resultset
ResultSet rset = sql_stmt.executeQuery("SELECT * FROM EpxDirectory..Directory Order By LName");
// Populates a JTABLE Object
int i=0;
while (rset.next()){
String LName = rset.getString(1);
String FName = rset.getString(2);
String Position = rset.getString(3);
String Dept_Code = rset.getString(4);
String OffPhoneNo = rset.getString(5);
String LocalNo = rset.getString(6);
String OffMobileNo = rset.getString(7);
String HomePhoneNo = rset.getString(8);
String MobileNo = rset.getString(9);
String Email = rset.getString(10);
jGrid.updateUI();
jGrid.setValueAt(rset.getString(1).trim(),i,0);
jGrid.setValueAt(rset.getString(2).trim(),i,1);
jGrid.setValueAt(rset.getString(3).trim(),i,2);
jGrid.setValueAt(rset.getString(4).trim(),i,3);
jGrid.setValueAt(rset.getString(5).trim(),i,4);
jGrid.setValueAt(rset.getString(6).trim(),i,5);
jGrid.setValueAt(rset.getString(7).trim(),i,6);
jGrid.setValueAt(rset.getString(8).trim(),i,7);
jGrid.setValueAt(rset.getString(9).trim(),i,8);
jGrid.setValueAt(rset.getString(10).trim(),i,9);
i++;
//Close the ResultSet and Statement
rset.close();
sql_stmt.close();
//Close the database connection
connection.close();
System.out.println(Integer.toString(i) + " rows found");
} catch(Exception e) {
System.out.println("Failed to connect; Please view Stack Trace");
e.printStackTrace();
}//GEN-LAST:event_jButton1MouseClicked
private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowOpened
}//GEN-LAST:event_formWindowOpened
public static void run(){
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
frmMain frmMain = new frmMain();
frmMain.setLocationRelativeTo(null); // Center the JFrame on the
frmMain.setVisible(true);
private void exitApplication() {
// try {
// //gui.putStatus("Closing the connection....please wait.....");
// if(connection != null) {
// // connection.close(); //Closing the connection object.
// } catch(SQLException ex) { //Trap SQLException
// //gui.putStatus(ex.toString());
System.exit(0); //Exit the aplication
* @param args the command line arguments
public static void main(String args[]) {
run();
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JTable jGrid;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JPanel jPanel4;
private javax.swing.JPanel jPanel5;
private javax.swing.JProgressBar jProgressBar1;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JScrollPane jScrollPane2;
private javax.swing.JScrollPane jScrollPane3;
private javax.swing.JSplitPane jSplitPane;
private javax.swing.JTabbedPane jTabbedPane1;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
private javax.swing.JTree jTree1;
// End of variables declaration//GEN-END:variables
}Use code tags.
Don't mix GUI and JDBC together. Split them out into separate classes.
You have a good start, but you will need to loop through your resultset and also pull the ResultSet metaData for you column headings -
How Can I Make Title Cards Appear with Flicker Behind Them?
Hello professionals,
I have a question for you, guys: I am editing a short film now which is a throwback to some old 1930's films. I keep creating the title cards but the font always looks to modern. How can I create the title cards in Final Cut Pro so they have that old, 1930's feel flicker to it? An example of this would be the opening credits in this film:
http://www.youtube.com/watch?v=NvXtjWq-k78
I'd like to do something similar. Thank you so much in advance.
MatthewWhile it won't be exactly the same you can easily create something similar. Go to the GENERATORS BROWSER and select TEXTURES and the PAPER and drag that to the timeline. Then in TITLES drag the BASIC TITLE on top of your paper and select the font you want while changing the colour to black, etc. in the INSPECTOR.
Select the title and paper on your timeline and right-click and select NEW COMPOUND CLIP.
In the EFFECTS select VIGNETTE and drop that on your clip. Then you could add FILM GRAIN, SIDELIGHTS, or perhaps PROJECTOR and in the INSPECTOR adjust the parameters.
Not sure if that's what you're looking for but it's a possibility. -
How do you run the session programatically with out going to tr.codes?
when we go with BDC sessions what code should we write, to run session programatically,
i.e manually?If I got you right, you do not want to go to SM35 and run the session. Instead you want to run from program. If this is the case then we have understand the way Sessions work.
Session method is intented to have a two step execution, where the creation of session is the first phase and execution of session is the second phase. This is mainly to have a centralized control over the Postings made in the SAP system.
Hence, if session method is used, then it is always 2 step. We cannot programatically run the session. Instead u can use CALL TRANSACTION
Naveen -
Can someone please advise me how to update my credit card details with iTunes
Hi, i have updated my personal details with apple but can't seem to find a place to update my credit card details. can someone help me please?
You should be able to do it on your computer's iTunes via the Store > View My Account (Store > View My Apple ID on iTunes 11) drop-down menu option - there should be a payment section on there. Or you might be able to do it on an iPad, iPhone or iPod Touch by tapping on your account id in Settings > Store (Settings > iTunes & App Store on iOS 6).
-
How do you detect a rootkit? With Activity Monitor?
I often check my activity monitor to see if I have the normal amount of processes running. Lately, I've been wondering how to detect a rootkit. Are they detectable in OS X and if so, how would you do it?
Or, are you hosed if you get one?
This also reminds me that I wish Apple would publish a list of ALL of their processes so we could see which ones weren't from Apple...
Thanks to all who answer.
- MarkThere is no such thing as a rootkit for a Mac. Even
if there were, a rootkit is, by definition,
invisible. That is why they are so bad. They are
hooked into the very lowest levels of the OS and are
hidden even from spam/virus checkers.
But again, no such beast exists on the Mac.
etresoft, thanks.
Mark -
How to interface data acquization card(DAQ) with labview
I want to take input from labview and display it on labview envioment .all the inputs are digital and change the state of switch according to the input.
What exactly is your question? Do you have a DAQ board or are you looking for a recomendation on what to buy? If you already have a DAQ board, is it one from NI? If so, what model#? If using a NI board, you should start here. There are also a large number of shipping examples in LabVIEW related to DAQmx.
-
Mac Pro USB port can't detect SD card reader.
My new macpro ( 2014) can't detect SD card reader with all 4 USB port ! I try to test with macbook Pro it's work properly ! What wrong with my USB port ?
This is too obvious, but neverthelees:
Have you checked that the card works on another computer?
Does a different USB or FW device work on the same computer port?
Is there a card actually in the reader? -
Programatically detect the card
hi
how to programatically detect the card is a digitai I/O card or not?
I have a DAQ card in my PCI slot and i would like my applilcation
to detect the whether its DAQ or Digital I /O card or not.
If its other like relay or switch card my application does not need to interact
with the cards.
how can i achieve this.
regards
ragsHi Rags,
You can obtain the names of all devices in your computer by
using the DAQmxGetSysDevNames()
function, and then use the DAQmxGetDevProductCategory() function to see if the
board is a digital IO board. (see picture below, taken from DAQmx C Reference
Help). This reference guide can be found under Start >> Programs >> National Instruments >> NI-DAQ.
This forum and this forum may be helpful if you are running
into errors.
Message Edited by David L. on 09-06-2007 01:07 AM
David L.
Systems Engineering
National Instruments
Attachments:
Device Product Category.JPG 82 KB -
how do i edit my billing info if my credit card associated with apple id expired and i have a duty to app store from the time when i had the old credit card?
so the thing is a few days ago i made an app store purchase and i didn't know i was running out of money on my credit card. i realized that only when i tried to purchase another item and it didn't work. nothing special til here. the problem is that meanwhile my credit card was replaced by a new one by the bank because the old one was soon expiring. So the data associated with the old credit card no longer exist.
i tried to edit my billing info associated with my apple id in order to enter the new credit card data, but the system doesn't allow me to do that.
so i can neither pay my purchase, nor edit my info, nor access app store anymore.
what's next? any ideas? thanksServers down wait till status is fixed to change or add your data http://www.apple.com/support/systemstatus/
-
How can I set up two iPhones with the same contact, photos, music etc... but a different sim card and phone number. They will both be my phones, but one will be for use in other countries.
Phone A = phone with information you want duplicated
Phone B = phone that you want to copy from A
Backup Phone A.
Wipe Phone B using these instructions. What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support
Phone B should be on the 'Hello' screen. Do not swipe it. Launch iTunes. Plug in Phone B.
When iTunes asks if you want to set up as new phone or restore from backup, choose restore from backup of Phone A.
After this setup, any changes to one phone (i.e. adding a contact, downloading an app) will have to be manually duplicated on the second phone, if that is your desire). Making changes to one phone will not affect the other after setup. -
How do I test a Java card applet with different AIDs on the fly?
... Like sweeping cards from employees in a queue of people lining up in the morning?
When I created my applet, the aid is a fixed value inside the class.
Whenever I wanted to test it with another value, I changed that AID and rerun the applet.
I find it very cumbersome that needs to be rerun and rerun, over and over again.
How do I test the applet easily with any values of AIDs that I'd like to put in, on the fly.
I know I can't simulate the sweeps of card in the applet because I can't have a main method with a signature
of Strings[] args or String[] args. I can only have JUnit to help me out, but still java card doesn't allow either
main(Strings[] args) or TestCase to inherit from.
Thanks
Jackyour question is hard to understand but:
an applet always has one definite AID and you cant change it after install as far as i know
a) you want to test many cards with diffrent AIDs?
->send a list of select commands and check the return values
b)you want one card with the same applet to be available for many AIDs?
->install many dummy applets forwarding the commands to one core applet
c)i think i didnt get your point :/ -
I was using a prepaid American Express E-Gift card with my iTunes account and now the money is done. How do I remove the card from my account?
Changing Account Information
http://support.apple.com/kb/HT1918
If necessary Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact
Maybe you are looking for
-
I have ios7.1.2 on my iphone and am trying to upgrade to 8.0.2. I haven't installed 8 yet and when I try and upgrade nothing happens. It says ios8.0.2 improvements from 8.0.1 are available but not the whole ios. What to do?
-
ISight green LED comes on with no user input?
So,pretty freaky when it looks like someone has taken over control of your perfectly sound Mac, right? I was across the room, and I say the camera light come on my MPB, and there weren't any IM apps loaded, and certainly none with auto camera on conf
-
How do I remove my old Apple id? It keeps popping up in the App Store?
how ow do I remove my old Apple id..it keeps popping up in the app store?
-
£2.54 skype credit - cant complete transaction
I've being buying £10 credit via Ukash for more than a year. With the value I ALWAYS split like £7.46 for my subscription and the balance I buy skype credit (2.54). This month my £2.54 buying credit shows pending (since 3rd septemeber).Note that on m
-
Cannot enable cookies even after gong thru tools, options, privacy, "use custom settings for history" procedures. Reverts back to "remember history". Firefox 4.0