NIDAQ Driver Shutdown
I think I'm fighting the NIDAQ driver software but I'm looking for
confirmation of my hypothesis.
I'm trying to use a time-delayed one-shot (PCI-6602 counter) to trigger a
signal elsewhere in my system after my software shuts down (Borland C++
application). Unfortunately, it appears as though once the user exits the
software, the counter / timer is reset automatically by the driver thereby
cancelling any signal that I had previously set up to trigger at some point
in the future. Is this what's happening?
Thanks
Andy Struckhoff
DCS Corporation
Machine Vision Systems Center
Hello Susanto,
It looks like you are running into some difficulties with the driver installation on a Linux machine, so that you can use your PCI-6036E device.
The driver that you would need to use would be the NI-DAQmx Base Driver 1.5.
Unfortunately in the readme I don't see that Knoppix 3.3 is officially supported by the driver (only Mandriva (formerly Mandrakelinux) 10.0 Official, SUSE LINUX Professional 9.2, and Red Hat Enterprise Linux WS 3).
You could try working with the NI Measurement Hardware DDK (Driver Development Kit).
If any other users out there have more information about the specifics for Knoppix then please share your knowledge.
Regards,
Otis
Training and Certification
Product Support Engineer
National Instruments
Similar Messages
-
Why do I get a blue screen when I use the NIDAQ driver.
I get IRQL_NOT_LESS_OR_EQUAL.
Address fc792324 has base at fc6f8000 Nidaq32.sys and Address fc7028e3 has base at fc6f8000 Nidaq32.sys.
The system is running on Windows NT 4.0. The application is built using Application Builder and LabView 5.1.1. The NIDAQ 6.9.0 is used.
Please help me.uffe:
You seek...Yoda...Help you...I...will..
This is a kernel mode problem with your NIDAQ32.SYS driver. I believe
that you can pretty much rule out problems with LV5.1.1 or app
builder. Your problem
You have run into a classic BSOD message. It may not always occur so
it can be really frustrating to diagnose. There may be some
workarounds you can implement at the application level but it still
needs to be fixed at the kernel (O/S) level so you're going to need to
contact NI.
I've had this same problem error message in the past but not with DAQ
cards. As I recall, in one case there was a problem with a spinlock
in the SCSI driver (.sys) file which protected access to the hardware
I was using.
What is a spin lock? A spin lock is a special synchronization
construct used by device driver developers to protect access to
critical sections of their code usually for hardware access. It is
the kernel mode equivalent to a VISA resource lock or a semaphore in
LabVIEW.
For more on spin locks see:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/kmarch/hh/kmarch/k101_97hu.asp
Work-around Possibility #1: Do you have two different parts of your
code trying to access the DAQ card simultaneously? If so, providing
your own VISA resource locks or semaphores at the application level
may cure the problem even if the kernel mode driver is failing to
protect access to the card like it should.
Even if this fixes the problem PLEASE report it to NI so that they can
fix it properly in the .sys file and let other users know that the
workaround I suggested works.
See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/network/hh/network/103ndisx_7mk2.asp
Work-around Possibility #2: I don't know the details of setting up
your DAQ card so if this question doesn't make any sense don't worry
about it. Are you setting up the card with some empty array, zero
memory size, or empty string value or something? I had this problem
with a reflective memory card driver.
Sometimes this can screw up a driver that isn't checking for this sort
of thing with the result of it trying to reference a null ptr or
something. Again, even if you fix the problem by error checking the
values before you give them to the DAQ driver VI, make sure you tell
NI about it.
This explanation also jibes with what Microsoft has to say on
IRQL_NOT_LESS_OR_EQUAL. See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/w2kmsgs/6077.asp
3) There may be other explanations for your problem but these are two
that I've run into personally. Try going to www.microsoft.com and
doing a search on IRQL_NOT_LESS_OR_EQUAL if my two possibilities
aren't the cause of your problem.
4) Make sure you have the latest driver from NI for the NIDAQ. NI may
have already fixed your problem in a later version of the NIDAQ
driver.
5) Also I would recommend making sure that you have the latest service
pack (SP6A) installed or that you go ahead and upgrade to Win2000. As
I recall when I had my one of my driver problems it was with an
earlier SP release and upgrading SP's helped.
6) If none of these suggestions help, you need to call NI help line
(800-IEE-E488) and report this to see if they know about it so that
they can give you a work around and see if they can recreate the
problem and then fix it.
Doug De Clue
LabVIEW developer
[email protected]
uffe wrote in message news:<[email protected]>...
> I get IRQL_NOT_LESS_OR_EQUAL.
> Address fc792324 has base at fc6f8000 Nidaq32.sys and Address fc7028e3
> has base at fc6f8000 Nidaq32.sys.
>
> The system is running on Windows NT 4.0. The application is built
> using Application Builder and LabView 5.1.1. The NIDAQ 6.9.0 is used.
>
> Please help me. -
KM4M 6374 mapped drive shutdown
KM4M MS-6734 patched bios to rev1.2
256 meg 333ddr
AMD2400xp+
WD80 gig
Installed Win98se, patched all critical updates and IDE cache and mapped drive shutdown patch. System will restart OK but will not shutdown via SHUTDOWN. Disconnect networkd drive and machine will shutdown (power off). Installed patch multiple times (read one person patched 4 times before it took). No dif. ACPI is enabled and so is IPCA.
Installed WINme, patched blah blah blah and still the same results.
Checked website for new onboad lan driver just to be sure and didnt find under on board lan...just VIA with models listed that are not 6734. Win98se hangs at Windows is shutting down screen and WINme hangs at a black screen just before power off. When reset, scandisk has to run of course.
Reinstalled OS's several times just to double check.
Happens on every similar system (6734..same set up)in different locations and lans. 6 total
Rhine drivers the problem? Any other reports of the like.I've had numerous shutdown problems with Win98.
If removing the network mapped drive resolves the problem, then it is unlikely that the issue is with hardware. Drivers, possibly, but certainly not hardware.
You might want to check that you have all the Mobo drivers installed to latest versions. Use the device manager to check driver versions, and see if any newer revisions are available. It also may not be directly related to the LAN driver, so also check chipset drivers, or other software. Check that you are not running software that is running on your X: drive, and may not be allowing the OS to disconnect it. Last, but certainly not least, pay a visit to the Windows Update site, and check for other OS patches.
And if that doesn't solve it, get another HDD, and try a fresh install of Windows. There's no end to the list of problems that a fresh reinstall of Windows 98 has resolved for me.
Best of luck -
Can I run use the traditional NIDAQ Driver with PCI-6259 M
I'm trying to run the Matlab signal processing toolox with my PCI-6259 M series DAQ card. I know that
I can't use the DAQmx driver and Matlab signal processing toolbox together. NI is obviously in competition with
Mathworks b/c there aren't any mathworks products listed although VB are listed. Is there a way I can use the traditional NI-DAQ driver with my card. Yes, I've read the discussion about using the NI commands in Matlab using a the dll. I have signal processing toolbox and I want to use it b/c it's a lot easier.
Thanksnsm...
Unfortunately the answer is no, you can't use the 6259 with Traditional DAQ. It is only supported in DAQmx
StuartG -
How to Install New Internal Hard Drive on Mac Pro Laptop
My wifes 15 in Mid 2010 lap top running 10.8.4 has run out of drive space so we bought a new 1tb drive to install. We aren't sure where to go from here. The current contents are back up on Time Machine, but we also bought a small hard drive enclosure to take out the current hard drive and put it in the small enclosure.
So...do we install the new 1tb drive into the laptop and then try and start from the original hard drive that is now in an enclousure...then "Copy" or "Migrate" the material from the original hard drive to the new on? If so...how is that done?
Or do we try and "Copy" or "Migrate" the hard drive materials backed up on Time Machine? If so...how do we do that?
Thank you!After formatting the new hdd, while still outside the mac, make a clone of your internal disk with CarbonCopyCloner on the new (still external) disk: CCC will ask you to install the Recovery Partition also, do that, and then the clone.
Then you eject the new drive, shutdown, and then you open the mac take the original disk out, and put the new one in.
On the OWC and other sites you will find instructions how to do the switch. Be very careful with the connectors inside . -
Error in shutdown script for bea weblogic
We have this error in the shutdown script of our bea weblogic:
./stopWebLogic.sh[33]: -Xms256m: not found.
using the Oracle OCI database driver
Shutdown initiated
The shutdown sequence has been initiated.the script is as follows:
echo "using the Oracle OCI database driver"
export ORACLE_HOME=/opt/oracle/product/8.1.7
export NLS_LANG=AMERICAN_AMERICA.UTF8
export ORACLE_CLIENT_VERSION=817
export ORACLE_API_VERSION=8
PATH=$PATH:$ORACLE_HOME/bin
SHARED_LIBRARY_PATH=$WEBLOGIC_HOME/lib/hpux11:$WEBLOGIC_HOME/lib/hpux11/oci$ORACLE_CLIENT_VERSION\_$ORACLE_API_VERSION:$ORACLE
_HOME/lib
PATH=$JDK_HOME/bin:$PATH
export PATH
# Set application specific variables
DOMAIN_NAME=eGovStarters
SERVER_NAME=MyServer
WLS_PW=weblogic
# change to domain directory
cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
# Allow other users in group to see created files - i.e. logfiles
umask 027
# Set system classpath initially to contain WebLogic product JARs
CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
#!/bin/sh
# Weblogic start script for egovernment
# Based on Colin Brick's initial version
# Modified 02/04/03 - Colin Brick
# - included settings for Oblix from using SSO Assembly Test as example
# Set General environment variables (Should normally not be changed)
#Java settings
JDK_HOME=/opt/bea/jdk131/
export JDK_HOME
JAVACMD=java
JAVA_OPTIONS=""-server -Xms1024m -Xmx1024m -Xmn320m -XX:SurvivorRatio=8 -Xverbosegc:file=/opt/bea/wlserver6.1/config/eGovStart
ers/logs/gc.log -Dweblogic.system.gc.enabled=false ""
export JAVA_OPTIONS
WEBLOGIC_PORT=51080
#Bea settings
BEA_HOME=/opt/bea
export BEA_HOME
WEBLOGIC_HOME=/opt/bea/wlserver6.1
export WEBLOGIC_HOME
BEA_SECURITY_POLICY=/opt/bea/wlserver6.1/lib/weblogic.policy
export BEA_SECURITY_POLICY
#Oracle settings
echo "using the Oracle OCI database driver"
export ORACLE_HOME=/opt/oracle/product/8.1.7
export NLS_LANG=AMERICAN_AMERICA.UTF8
export ORACLE_CLIENT_VERSION=817
export ORACLE_API_VERSION=8
PATH=$PATH:$ORACLE_HOME/bin
SHARED_LIBRARY_PATH=$WEBLOGIC_HOME/lib/hpux11:$WEBLOGIC_HOME/lib/hpux11/oci$ORACLE_CLIENT_VERSION\_$ORACLE_API_VERSION:$ORACLE
_HOME/lib
PATH=$JDK_HOME/bin:$PATH
export PATH
# Set application specific variables
DOMAIN_NAME=eGovStarters
SERVER_NAME=MyServer
WLS_PW=weblogic
# change to domain directory
cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
# Allow other users in group to see created files - i.e. logfiles
umask 027
# Set system classpath initially to contain WebLogic product JARs
CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
domain_NAME=eGovStarters
SERVER_NAME=MyServer
WLS_PW=weblogic
# change to domain directory
cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
# Allow other users in group to see created files - i.e. logfiles
umask 027
# Set system classpath initially to contain WebLogic product JARs
CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
#Set the shared library path
if [ -n "$SHLIB_PATH" ]; then
SHLIB_PATH=$SHLIB_PATH:$SHARED_LIBRARY_PATH
else
SHLIB_PATH=$SHARED_LIBRARY_PATH
fi
export SHLIB_PATH
# Start weblogic
# change to weblogic home
cd $WEBLOGIC_HOME
PATH=$WL_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:$PATH
$JAVACMD -classpath $CLASSPATH -Dbea.home=$BEA_HOME -Dweblogic.Domain=$DOMAIN_NAME -Dweblogic.Name=MyServer weblogic.Admin -ur
l t3://localhost:$WEBLOGIC_PORT -username system -password $WLS_PW SHUTDOWNIt has obviously something to do with the line
JAVA_OPTIONS=""-server -Xms1024m -Xmx1024m -Xmn320m -XX:SurvivorRatio=8 -Xverbosegc:file=/opt/bea/wlserver6.1/config/eGovStart
ers/logs/gc.log -Dweblogic.system.gc.enabled=false ""I googled for this Xms1024m, Xmx1024m and it turns out to be for memory management for the java virtual machine.
I don't know why it sais it can't find "-Xms256m" since it's not in the script.
Anyone with some experience in this field who can help me out?./stopWebLogic.sh[33]: -Xms256m: not found.
this can be produced by something like this:
javaoptions="-Xms256m" // or other option too
$javacmd $javaoptions
Now if javacmd has not been set, then $javacmd will be evaluated to the empty string, and the program to look for is the first part in $javaoptions, -Xms256m in our case. -
How do I remove NIDAQ drivers version 6.8.1 when thier is not an uninstall file?
How do I remove NIDAQ driver version 6.8.1 when their is not an uninstall file? I tried installing the latest version of NIDAQ, but am unable to until the old version (6.8.1) has been uninstalled. There is no uninstall feature in the add/remove option (The system is running Windows 2000 Pro), or in the National Instrments / NIDAQ folder. Does this have to be resolved through the registry? If so can someone walk me through the procedure? If not do you know of another method? Thanks in advance for your help.
Hi pmtec,
NI-DAQ 6.8 is actually installed within LabVIEW for that particular version. It can be uninstalled from your LabVIEW uninstaller. For more detailed information on this see the following KB:
http://digital.ni.com/public.nsf/websearch/08F0A1CF535D995086256AB6006BDEFC?OpenDocument -
K9N SLI - Harddrive shutdown (sleepmode) after reboot - PLZ HELP ME!
Hi
every time when i reboot my windows (vista) my 2x Western digital raptor discs (Raid 0) goes to sleepmode (ill can hear a strange shutdown noise from my drives) and after 5 - 15sek the drives starts again and windows starts again..
does anyone know were i can remove the "shutdown mode" on my drives??? i have the latest bios.
i only have this problem with my sata raptor drives (raid 0) and not my seagate 500gb drivehi, this is my system:
AMD Athlon 64 X2 6000+ / 3GB RAM / 2x WD Raptor 10000Rpm (Raid 0) / 1x seagate 500gb sata / 1x seagate 200gb ide / GeForce 8800GTS 320MB / Cooler Master Stacker 831 / Fortron/Source Epsilon 700W, Blue Fan,
the sound comes only from my raid drives.
i had this problem since i got my computer for about 2weeks ago, BUT one of the harddrive i had about 4months and didnt have any problem with it using xp. its when i started to raid the problem appeared.
the sound is exactly like then i shutdown my computer. when i restart my system i can hear my drives "shutdown" and then to start again about 5 - 10 seconds later.
edit: this problem ONLY appears when i reboot my system, if i press the "reset" button my on computer the hard drives doesn't go to sleep mode. -
Windows 7 is compatible with NIDAQ or only with NIDAQmx?
Hellp? My CEO has a question about Windows 7 XP mode. He wonders if we can install NIDAQ driver in XP mode of Windows 7. But I think it won't work and you NI guys don't want to do so, because of your timeless efforts on NIDAQmx
If you have tested it already, let me know the result.
Regards,
I'm converting DAQ to DAQmx..from Parkoz.com
Solved!
Go to Solution.This is the wrong forum for that question. This forum is for asking questions about the actual forums, and not about products. The right forum would be the Multifunction DAQ, although I doubt you'll get an anwer since Windows 7 hasn't been released, and NI doesn't divulge information about compatibility with unreleased products, regardless of "how close" it is. Still worth a try, though.
-
Win 8.1 OneDrive upload stalls, no indicator, no error
Now that OneDrive offers 1TB of storage, I am attempting to upload all of my music, videos, and pictures - about 225GB of data. This is not working. OneDrive mysteriously stalls the upload. There are no indications of the upload stalling/stopping/pausing.
I know it is stalled ONLY because I'm looking at network traffic and it is ZERO!
If I check the Win 8 OneDrive app, the app indicates there "2 actions in progress..." Bringing the OneDrive app into context by clicking it, CPU utilization rises dramatically. Sometimes to 80-90% range. Bring anything else back into
the foreground, CPU util drops to a couple of %. There is no impact by having/not having and upload in progress. CPU util is a bug in the OneDrive app. Intermittent, btw, for anybody that wants to file a bug on it.
If I check the systray icon in Desktop by floating my mouse over it, the tooltip says, "Uploading 87.2 GB of 149.3 GB (58%)" (btw, due to restarts, it adusted the 225GB down to 150GB). However that's wrong. Nothing is actually uploading.
If I click the systray icon a small console pops up with the syncing icon appearing and the following text displayed:
"Uploading - 58% complete
4904 items remaining
Sync
Pause syncing
Open OneDrive in File Explorer"
Again, this is wrong as there is ZERO network traffic.
If I click the "Pause syncing" link, OneDrive is confused and thinks an error occurred. It displays the exclamation mark inside a yellow triangle and states:
"File syncing is paused
4904 items couldn't be uploaded
View sync problems
Resume syncing
Open OneDrive in File Explorer"
Obviously this is wrong, there was no error. Why it now displays the status as "paused", when clearly based on network traffic it was already paused, I don't know. It's been paused all along. If I click the "Resume syncing"
link, the sync will indeed resume to the maximum rate of my outbound internet connection (about 6.5Mbps). However, when I come back to my PC after an hour or so, I find the same state: No network traffic, but OneDrive is indicating a sync is in
progress.
I have gone through all the power options to disable sleep, disable hibernation, disable drive shutdown, disable monitor shutoff, etc. I went through network adapter advanced config and disabled power off (which is for power savings).
First off, while a sync is in progress, Windows should be smart enough to know NOT to shut down or enter low power modes, but due to bugs, that is not the case. Second, even after modifying the power profile and keeping my PC and all ancillary hardware
alive, OneDrive still pauses and does so without any indicators anywhere. OneDrive appears to think the transfer is still going.
I have verified all updates are installed. I have rebooted my PC. I've sat here and watched over it hoping to catch the problem, but have never seen it occur while I'm active on my PC. I've verified this same problem occurs on other PCs.
I'm out of ideas.
What is the point of having 1TB of storage if I can't upload anything to it? Uploading this much data at 6.5Mbps will take days. I cannot sit here and babysit my PC for days on end to find a workaround for Windows/OneDrive bugs.
Please help.
Regards,
MichaelMichael
One drive questions need to be asked here. On a different note I would make sure Onedrive is completely backed
up AFAIK it is not.
Wanikiya and Dyami--Team Zigzag -
Mac Mini stuck with windows install, won't boot from OSX DVD
Ok, I just bought this mac mini from ebay, yeah i know but it was cheap. I got it and it came with windows xp installed. I thought ok, I will just pop in my snow leopard disk and get rid of windows. so i put in retail new copy of snow leopard in the drive, shutdown, power on, hold C... grey screen for a little while then into windows boot screen. Thought ok, I will try reset pram, option + command + p + r, nothing... just boots into windows. I have tried to original osx 10.4 restore disks that came with the machine with the same results. I also tried holdind D during boot with the original disks and it still does the same thing.
I have also tried holding down option during boot, thinking it would give me my boot options, nothing still goes into windows. I am using a new aluminum white keyed usb apple keyboard and apple optical mouse, all plugged into the back of the machine.
I don't know what to do next, if I can't find the solution it looks like i am going to have to take this thing apart and yank the drive and format it on my other machine with osx partition.
thanksThere's a couple more options yet.
First, try a different USB keyboard.
Second, when in Windows use the Bootcamp system tray utility to choose bootup from the OSX partition. You can install the Bootcamp system tray utility from the SL disk.
Third, if you have another Mac and an appropriate firewire cable, bring the Mini up in Target Disk Mode and blat the disk that way. -
USB6009 with Visual Studio 6.0
Hello,
I'm trying to use NI-USB 6009 supported by NIDAQmx using Visual C++ (Visual Studio 6.0). I've been used NIDAQ driver for traditional DAQ board, but this is the first time to use NIDAQmx driver.
I wonder whether NIDAQmx supports Visual C++ (Visual Studio 6.0), and what's the function name and location?
Thanks ahead for some replies..DAQmx does support C++. You can find the function calls in the DAQmx C Reference Help. You can access this file from the start menu.
Start --> All Programs --> National Instruments --> NI DAQ --> NI-DAQmx C Reference Help
Index for DAQmx, and you will see a list of the function calls to the DAQmx driver. If you do not have this file, you will probably want repair the NI-DAQmx driver installation and tell it to install help for C++ when it installs. This will only need to be done if you didn't have C++ installed when you installed DAQmx. Happy hunting!
-Jeff P.
Jeffrey P.
LabVIEW Product Management
National Instruments -
How to program to trigger off a channel then recording all other channels?
I am converting my program from Visual C++ 6.0 to .NET (yup we are kind of slow so that we can use the new NIDAQ driver with M card. Now I have some trouble converting the data acqusition routine. I am trying to trigger off a channel then record data from all the channels. I was told that I will have to have an extra circuit to wire the channel to TTL line. Is this true? I never had to do this in the older software. I basically set the pretrigger and use SWAnalog and that is it. The following is the code from the older software. Right now in my .NET evenvironment, I basically monitor the voltage from the trigger channel then once the voltage exceed the level, I went into my buffer to grab the pretrigger and post trigger data. It was fine except that the buffer is kindda huge and it slows down the data acq process by far since we still have older PC that is slow. I attached the code of the new way (in .NET) that I am doing with this message as well. Sorry for a long message and I hope someone can help me out!! Thanks, Yajai.
//// Older way
void CWinTFSView:tartDaq()
COleVariant vOptional((long) DISP_E_PARAMNOTFOUND, VT_ERROR);
CString ScanChannels[9];
int Device;
long Scans;
float SampleRate;
float ScanRate;
long PreTriggerScans;
Device = 1;
Scans = int (m_ActualPointPerRecord) *m_TotalChannel;
SampleRate = (int) (1000000/(m_TimePerPoint));
ScanRate = SampleRate;
PreTriggerScans = m_TriggerDelay/m_TimePerPoint;
m_CWAI.GetChannels().RemoveAll();
// InsertChannel
ScanChannels[1].Insert(0, "0");
ScanChannels[2].Insert(0, "1");
ScanChannels[3].Insert(0, "2");
ScanChannels[4].Insert(0, "3");
ScanChannels[5].Insert(0, "4");
ScanChannels[6].Insert(0, "5");
ScanChannels[7].Insert(0, "6");
ScanChannels[8].Insert(0, "7");
CString Ch ="";
bool First = TRUE;
for(int i = 1; i< 9; i++)
if(m_Ch[i] == TRUE)
switch (m_NiGain[i]) {
case 1:
m_CWAI.GetChannels().Add(ScanChannels[i],CNiVariant(10),CNiVariant(-10), vOptional, vOptional);
break;
case 2:
m_CWAI.GetChannels().Add(ScanChannels[i],CNiVariant(5),CNiVariant(-5), vOptional, vOptional);
break;
case 4:
m_CWAI.GetChannels().Add(ScanChannels[i],CNiVariant(2.5),CNiVariant(-2.5), vOptional, vOptional);
break;
m_CWAI.SetDevice(Device);
char temp[10];
int RealTriggerCh = m_TriggerChannel - 1;
itoa(RealTriggerCh, temp, 10);
m_CWAI.GetStopCondition().SetType(cwaiSWAnalog);
m_CWAI.GetStopCondition().SetLevel(m_TriggerLevel);
m_CWAI.GetStopCondition().SetSource(temp);
m_CWAI.GetStopCondition().SetPreTriggerScans(PreTriggerScans);
m_CWAI.GetStopCondition().SetMode(cwaiFalling);
m_CWAI.SetNScans(Scans);
m_CWAI.GetScanClock().SetFrequency(ScanRate);
m_CWAI.GetStopCondition().SetHysteresis(float (0.05));
m_AcquireMode = true;
m_CWAI.Configure();
//delay function
int k;
for(i = 1; i<= m_TIME_DELAY; i++)
k = 1;
m_CWAI.Start();
Attachments:
code.txt 4 KBHello DrObb,
I'm not sure I know exactly what you are trying to do, but I'd like to offer some suggestions. First, it looks like you are trying to use some sort of software analog triggering? Depending on your M Series device, you might be able to use hardware analog triggering. The 625x and 628x families have hardware analog triggering capabilities. You can use an analog trigger on any one of the analog input channels or the APFI line. Additionally, all M Series have digital triggering support. So it should not be necessary to use external circuitry unless you have a 622x device and you need analog triggering.
As far as the .NET programming, I suggest looking at some existing shipping examples. If you included .NET support when you installed NI-DAQmx, you should have a bunch of .NET examples in the following directory (regardless of whether or not you have measurement studio): C:\Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\DAQmx\Analog In\Measure Voltage
It looks like you probably want to use an analog reference trigger (if you want pre and post trigger data). So you might have to take pieces of a couple examples, like the analog start trigger example and the digital reference trigger example. Good luck, re-post if you have additional questions!
-Alan A. -
How to downgrade to XP on Satellite Pro L 300
I have read conflicting methods for downgrading to XP. This should have been put into the manual
Apologies if this has already been covered elsewhere (I couldn't find it if it was)
1. Vista will automatically set up when you turn on the laptop
2. Use 'create a recovery disc' for Vista just in case you want to reuse Vista (2 DVD discs will be made - you need 2 x 4.7G blanks)
3 You can run this twice so that you have 2 copies of 2 discs for keeping in separate locations
NOTE: You CAN'T run this after you install XP (You can NEVER can go back to VISTA without repurchasing it)
4. Back up hard drive if necessary as HDD will be overwritten (eg. Acronis True Image)
5. Insert number 1 XP recovery disc (supplied with laptop) into DVD tray
6. Turn on computer and hold down F12 key to go into Toshiba boot menu and select CD/DVD
(NOTE: booting can't be done from F2 - BIOS)
7. Options box comes up warning of overwriting
8. Go through menus pages to:
9. 'restore back to box' - if you want XP and don't have a 3rd party disc partioner (eg. Acronis Disc Director)
If you don't have a disc partitioner use this item ONLY - (NOT item 11.)
10. 'restore leaving partions as is' - this would be if you have previously partioned HDD - overwrites partion 'C'
11. 'restore with size of partion 'C' nominated' - ONLY use if you have a 3rd party disc partioner
If you use this it will split the HDD into 2 partitions, 'C' and 'unallocated'. You would split into 2 ONLY if you have a
disc partitioner and want to split the HDD into 'C' drive (or 2 'C' drives) eg. 40 GB for operating system & programs and into 'G' drive for data
This is for backing up if you have to reinstall windows to 'C' drive. A tip here is when downloading programs save to a folder eg "EXE"
on your data drive. If you reinstall windows you can copy the "EXE" folder to 'C' drive and run the program exe's to reinstall these programs.
You could also copy these and save seperatly on a disk
NOTE: you cannot see or access 'unallocated' space, so if you select this without a disc partitioner you are theoretically
reducing the size of your HDD. There is NO OPTION to undo/redo this if you reinsert the XP disc so make sure you have a disc partitioner handy.
12. You will be asked to swap discs after 1st disc has finished reading - put in disc 2
13. Goes into normal XP mode - country, language, time - these can be skipped and done later but you might as well do now
14. Once you get to XP screen laptop will go into a 'search for driver / shutdown' repeat loop.
15. Be patient here as it does it about 3 times. It seems like it in an endless shutdown loop but will eventually stop at the XP screen
16. If you have a disc partitioner program and have split your HDD into 2 partitions install the program and go into 'create new partion'
Here you can select the 'unallocated partition' and change it to a 'logical partition' in NTFS (XP mode) for data with it's own drive name eg 'G'.
You can also do things like have 2 active 'C' partitions (1 hidden) if you want to have Vista & XP on the one HDD
Note: Both VISTA & XP have the same Key so you can only have them both on the HDD if you do it the way above (16.). However you would
need to do it in a different sequence. Leave VISTA as is, use the disc partitioner first to split the HDD into seperate partitions, hide VISTA
and then go through to installing XP. You would then hide/un hide OS's to use either. Probably not worth the trouble on a laptop
Things you DON'T have to do:
17. DON'T go into BIOS (F2) - machine will still run XP on AHCI without streamlining drivers - no need to swap to 'COMPATIBLE' mode
18. DON'T look for any drivers - this will be done automatically
19. The VISTA / XP key doesn't need to be known / nominated during the install
20. The 1.5 GB hidden partition on the HDD is not overwritten
Hope this is some help to others
RayHi mate!
Thank you very much for this fantastic posting!
I noticed many threads about the downgrades to Win XP and there are always many questions and confusion.
I hope that this will help others here in the forum.
Well done! -
PCI-6703 on MAX traditional daq but not on daqmx
Im using MAX 3.1.1 (with NI DAQmx 7.3.1f0) and its listing my device 6703 on the traditional daq list but not on the DAQmx. I'm trying to utilize the Express VI to use this card but since it does not apear on the list I can use it. I already tried F5 several times.
Thanks fot the help.
--AaronPCI-6703/6704 are supported by traditional nidaq, and nidaqmx 7.4 and higher.
They are not suppoeted by NidaqMx 7.3.
if you want to use Nidaqmx, upgrade to the latest NIdaq driver.
Maybe you are looking for
-
Arabic and Hebrew features InDesign CC (2014 release) not accessible
Hello, I need to create a lay-out with Arabic content in Indesign CC (2014 release). After checking how to go about that via the help-section (online and PDF) I have to conlude that the help does not help me any further. It says I need to, from the p
-
How to call C++ module in Java? Can I do it?
Any expert know it, please tell me. Thanks! I can make the C++ module into a dll, but how can I call it in Java........... :(
-
Hi. In PA30, if i create a record and I press F4/Help for a specific input line a list of possible entries will appear in a dialog box. Do you know where the dialog box is populated and where the records are retrieved?? I need to change the entries d
-
Can I programming smart labels (or tags) with java?
I have a question. Can I programming smart labels (or tags) with java? I am doing an investigation over smart tags or label, but I don't know how programming the tags or that lenguage i can use to write or read information in the tags. please, help m
-
The PO was printed straight away without going through Release Strategy.
Hello, Purchase order was raised in March for over Rs 1,000,000/- and went through the Release Strategy for printing. The value of this order was changed today - about Rs 7,000/- was added in the purchase order. The Purchase Order was printed straigh