Maps of initialization and closing of HW
Hello
Earlier in each test case, I used to initialize the card, then close the cards once the test is completed. Why I use for each test case. But I think that's not good way of programming to initialize and close the cards each time. I want to initialize all the cards once the user connections and close all the cards when the user opens a session stop/exit. Yes, by doing this it will not affect my program or execution? or y at - it a better method?
Kind regards
Renaux
Yes.
You can open the task ID in the first instance and run the software, generating signals, close the ID/task when you exit the software.
Tags: NI Software
Similar Questions
-
What is the safe way to do initialization and finalization?
Hi all
I have a thrid driver for an external to use in my CVI device. I have to initialize the driver during the initialization of the main draw and RELEASE the driver to close the application. In my code, the main structure is something like
int main (int argc, char * argv [])
{
char s [10];
If (InitCVIRTE (0, argv, 0) == 0)
Returns - 1; / * memory * /.
Here I put the code to initialize the driver before DisplayPanel and will release the driver at the end of the main function. I am wondering if this is safe and the right way to do that? The reason why I am asking is the external driver is so strange, if the application using that not release the driver properly, other application can't use it unless to reboot the system.
I search online and see someone to release the driver in the event EVENT_CLOSE of the main panel, is that better way to do the finalization here? If so, any function like EVENT_START or EVENT_INITIALIZATION so I can do some initialization there?
Thanks.
Hi Dragondriver,
It sounds like the person used event_close in order to close out the reference to the driver if the UI is exited. This makes sense. You could include both without a problem. For example, you could initialize and close out the reference to the driver in each subprogram or subroutine you write that uses the driver, in addition to automatically closing out any references to it if the UI is closed accidentally in the middle of a subroutine. This would be a good way to do it.
-
How to remove the sound notification of opening and closing foxfire
Whenever I open or closed foxfire 36.0.4 I hear a gong, would like to turn off.
Thank you all, just fixed it. I have pro with sense of power system mechanic.
It has a checkbox for the sound notification. Uncheck and bong went
opening and closing of firefox. Still don't know why he touched just this one
browser and not others. -
WhatsApp works do not last night... When I opened the app, it shows white screen and closed after a certain time.
Try to do these steps, it should help:
1 check WhatsApp update: Open App Store from your iPhone, click on updates, check if the application needs to update.
2. restart your iPhone: hold down the sleep/wake button to it turn off and then turn it on again.
3. close the app: multitasking opened by double pressing the Home button, slide the nonresponse apps up to close.
4. go in the settings, press Whatsapp, touch turn off everything except mobile and notofications data.
5. return to the home screen and open whatsapp.
6. go in the settings, press Whatsapp and turn back.
7. open whatsapp again. It should work now.
-
With firefox and IE9, computer turn off and closing bt itself
With IE9 and Firefox, turn off computer and closing by itself
I see two possible causes:
- obsolete drivers graphics: Try to Start Firefox in Safe Mode and, if it works, Please update your graphics drivers or turn-off hardware acceleration.
- malware: Search for malware.
Please Update Firefox also.
-
Windows Mail deletes any e-mail as soon as it is read and closed
A few days ago Windows Mail suddenly started to delete all e-mails as soon as I read and closed. He has also instantly deleted previously read all mails. These emails are not visible in the elements deleted - they disappeared completely.
This problem is only happening in my account (I am the computer administrator) - user account of my wife is not affected. I can't find any setting that could be the cause.
Can anyone help?
A final servile apology - I found the cause of the problem. In the view-> current view option, the setting had somehow changed to show all Messages to hide Read Messages. When I reset, all of my emails 'disappeared' reappeared. I don't know how it happened, because it is not an option that I knowingly consulted before (I just found today).
Thank you for your efforts - I regret that they were not necessary.
Ian
-
RESTORE THE JINGLES ON MY COMPUTER DURING THE OPENING AND CLOSING OF MY COMPUTER
I GET A GRUFF TONE TO DRAW MY ATTENTION TO ONE WE SCREEN MESSAGE/QUESTION - I FOLLOWED THE ANSWER I GOT, BUT CANNOT RETRIEVE MY JINGLES. HOW CAN I GETT JINGLES AT THE TIME WHERE THE OPENING AND CLOSING OF MY COMPUTER?
Is JINGLES default windows sound? Do a system restore
-
I edited a word in email, saved and closed it doc is lost forever?
original title:
I opened a Word document from an e-mail. I edited the document and in a hurry, saved and closed, but not on the hard drive of my computer. Anyone knows where I can find this document or is it lost forever.
He lost. You must first save it to your HARD drive and then save it so often that you are editing to avoid this problem.
-
spooler under systrm app has stopped working and closed how to solve?
Spooler subsystem does not and closed how to solve?
Logon as administrator
Start - type in the search box-> COMMAND - control to the top of the list and RIGHT CLICK – RUN AS ADMIN
You can copy and paste each line except those brackets and press ENTER after each.
net stop Spooler
(echo suppression of all print jobs)<-- you="" should="" see="" this="">-->
ping localhost n 4 > zero
del/q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
(sound Done!)<-- you="" should="" see="" this="">-->
ping localhost n 4 > zero
Another way
http://4sysops.com/archives/how-to-cancel-a-print-job-that-hangs-under-Windows-Vista-and-XP/Check the print - DELETE/STOP queue all jobs - then right click on the printer - REMOVAL
http://windowshelp.Microsoft.com/Windows/en-us/help/bb6f81d9-4092-4ac8-9716-2bd008f513e11033.mspxIf you use Control Panel - Classic - printers
Try after unplugging your printer if necessary.
-
DVD disc drive tray keeps opening and closing constantly
FOR WINDOWS VISTA HOME PREMIUM EDITION
DVD CD ROM DRIVE TRAY KEEPS OPENING AND CLOSING CONTINUOUSLY - GET COMPUTER TO READ DISCS AT ALL - OTHER ASPECTS OF THE COMPUTER RUN FINE - DIAGNOSIS SAY THAT HE DIDN'T THERE HAS NO PROBLEM WITH ANYTHING.IN DEVICES, I NOTICED THAT DEVICE DRIVER IS FOR ARCSOFT - THIS UNIT HAS BEEN IN FOR REPAIR, AND I ME ASKING IF IT WAS CHANGED FROM MICROSOFT DRIVER AND WHY? REPAIR SERVICE DID NOT WARN THIS CHANGE.CAN ANYONE HELP.SAPPHIRE.The device driver can say Arcsoft because it may have provided to Microsoft by them.
In Device Manager, open the Properties window for the drive, and then click the driver tab, then update driver... Click the search selection automatically. If it finds a driver, let it install.If the drive still cycles, then you can have a bad drive. If it is still under warranty, contact the place of repair for repair or replacement.
SC Tom
-
My drive E guard opening and closing
E cd/dvd drive keeps opening and closing without disk in it. Whenever I close it it just opens again
Hello
1 did you change on your computer?
2 did you receive an error message?
3. what type of device is your E drive?
Method 1:
I suggest you perform the clean boot and check.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.
Method 2:
I also suggest you to follow the link and check.
Your CD or DVD drive is missing or is not recognized by Windows or other programs
http://support.Microsoft.com/kb/314060
See also:
Optimize Windows Vista for better performance http://windows.microsoft.com/en-US/windows-vista/Optimize-Windows-Vista-for-better-performance
-
engine update com has stopped working and closed live
Original title: microsoft windows
updated Microsoft, live Windows update engine com has stopped working and closed. problem caused ask stopworking and nearby. How can I fix it.
Hi janicesilvers,
1. when exactly do you get this error message?
2. you remember to make changes to the computer before this problem?
If it's related with Symantec Endpoint Protection Manager, then try to uninstall and reinstall the same check.
You can view the following symantec support links and check if it helps:
http://www.Symantec.com/connect/forums/LiveUpdate-Engine-COM-module-has-stopped-working
How to uninstall and reinstall LiveUpdate when a Symantec Endpoint Protection Manager or the Symantec Endpoint Protection Client is installed
http://www.Symantec.com/business/support/index?page=content&ID=TECH102609&locale=en_US
Hope this information helps.
-
My programs are opening and closing slowly
Member of the expensive Microsoft Answers Community:
My programs are opening and closing slowly from last night. Do you know why this could happen and if 'yes', what can I do to solve it?
Deepa
Hello
Troubleshoot using these methods and you can try a system restore which I wouldn't do unless
nothing else has helped.What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
on this machine, including those you have uninstalled (they leave leftovers behind which can cause
strange problems).----------------------------------------------------
Follow these steps:
Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN
Enter this at the command prompt - sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228Also run CheckDisk, so we cannot exclude as much as possible of the corruption.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html==========================================
After the foregoing:
How to troubleshoot a problem by performing a clean boot in Windows Vista
http://support.Microsoft.com/kb/929135
How to troubleshoot performance issues in Windows Vista
http://support.Microsoft.com/kb/950685Optimize the performance of Microsoft Windows Vista
http://support.Microsoft.com/kb/959062
To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
reference (if you have a small box at the bottom left - show for all users, then check that).How to check and change Vista startup programs
http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.htmlA quick check to see that load method 2 is - using MSCONFIG then put a list of
those here.
--------------------------------------------------------------------Tools that should help you:
Process Explorer - free - find out which files, key of registry and other objects processes have opened.
What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
each process.
http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspxAutoruns - free - see what programs are configured to start automatically when you start your system
and you log in. Autoruns also shows you the full list of registry and file locations where applications can
Configure auto-start settings.
http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspxThere are many excellent free tools from Sysinternals
http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx-Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
a program that runs in your Windows startup.
http://www.NirSoft.NET/utils/what_run_in_startup.htmlThere are many excellent free tools to NirSoft
http://www.NirSoft.NET/utils/index.htmlWindow Watcher - free - do you know what is running on your computer? Maybe not. The window
Watcher says it all, reporting of any window created by running programs, if the window
is visible or not.
http://www.KarenWare.com/PowerTools/ptwinwatch.aspMany excellent free tools and an excellent newsletter at Karenware
http://www.KarenWare.com/===========================================
Vista and Windows 7 updated drivers love then here's how update the most important.
This is my generic how updates of appropriate driver:
This utility, it is easy see which versions are loaded:
-Free - DriverView utility displays the list of all device drivers currently loaded on your system.
For each driver in the list, additional useful information is displayed: load address of the driver,
Description, version, product name, company that created the driver and more.
http://www.NirSoft.NET/utils/DriverView.htmlFor drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
Control Panel - device - Graphics Manager - note the brand and complete model
your video card - double - tab of the driver - write version information. Now, click on update
Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
Uninstall - REBOOT it will refresh the driver stack.Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
with their own software and drivers and all other main drivers that you have.Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
BIOS, Chipset and software updates on the site of the manufacturer of the system here.)Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
each installation.Always check in the Device Manager - drivers tab to be sure the version you actually install
presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
in particular that) so to install a driver - reboot - check that it is installed and repeat as
necessary.Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
manually by model.Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmHow to install a device driver in Vista Device Manager
http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.htmlIf you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
Updates, that leaves about Windows updates but it will not install the drivers that will be generally
older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
get new manually if you wish.How to disable automatic driver Installation in Windows Vista - drivers
http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx==========================================
==========================================Only if necessary and then you run back through the above (including the drivers once again) anyway.
How to make a Vista system restore
http://www.Vistax64.com/tutorials/76905-System-Restore-how.html
Hope these helps.Rob - bicycle - Mark Twain said it is good.
-
Spooler subsystem stopped and closed
Spooler subsystem works correctly and closed
Hello
Use this method to clear the spooler and then uninstall and reinstall your printer (check with the manufacturer for)
the latest driver).Check Mr. Fixits here and if you use the other methods go back and try again later.
Problems of print and error - a Mr Fixit of printing
http://support.Microsoft.com/GP/printing_problemsSolve printer problems - a Mr Fixit
http://windowshelp.Microsoft.com/Windows/en-us/help/8c11977e-8244-408f-A036-7978a618d7a21033.mspx------------------------------------------------------
Logon as administratorStart - type in the search box-> COMMAND - control to the top of the list and RIGHT CLICK – RUN AS ADMIN
You can copy and paste each line except those brackets and press ENTER after each.
net stop Spooler
(echo suppression of all print jobs)<-- you="" should="" see="" this="">-->
ping localhost n 4 > zero
del/q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
(sound Done!)<-- you="" should="" see="" this="">-->
ping localhost n 4 > zero
Another way
http://4sysops.com/archives/how-to-cancel-a-print-job-that-hangs-under-Windows-Vista-and-XP/Check the print - DELETE/STOP queue all jobs - then right click on the printer - REMOVAL
http://windowshelp.Microsoft.com/Windows/en-us/help/bb6f81d9-4092-4ac8-9716-2bd008f513e11033.mspxIf you use Control Panel - Classic - printers
Try after unplugging your printer if necessary.
-------------------------------------------------------------Also check the spooler print and its dependencies and addictions Service.
Print Spooler service
http://www.blackviper.com/WinVista/services/Print_Spooler.htmHow difficulty Windows Vista print spooler starts do not
http://www.ehow.com/how_4920100_vista-print-spooler-not-starting.html------------------------------------------------------------
Check this thread if necessary - to stop and erase the spooler
------------------------------------------------------
Clean the General corruption and repair or replace the damaged/missing files.Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup
Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN
Enter this at the command prompt - sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228CheckDisk (chkdsk) runs at startup.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.htmlI hope this helps.
Rob - bicycle - Mark Twain said it is good. -
How to stop windows during the opening and closing of the discoloration
Windows until today used to break open and closed but now that they fade in and out. Is there a setting that would avoid this?
Hi Dmkg,
1. when exactly this problem occurs (it is the opening of any application or is it when the computer starts and stops)?
2. Since when are you facing this problem?
3. any recent change in software/hardware on your computer?Method 1:
Try to perform a system restore to restore the work correctly the settings
System Restore: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows7/system-restore-frequently-asked-questions
Method 2:
Try the following steps:a. click on Control Panel.
b. click view by: large icons.
c. click on "Performance Information and tools".
d. click on adjust 'Visual effects '.
e. There will be three points on the line indicating the word "Bland" as the first string of characters on each line.
f. uncheck the box in front of each of these three lines and then 'OK' everything and regulate
Also be sure to animate windows when reduced and enlarged is checked
Method 3:I recommend you perform the clean boot.
Put your boot system helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.
See the following article in the Microsoft KB for more information on how to solve a problem by performing a clean boot in Windows Vista or Windows 7:
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Note: after a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.Thank you, and in what concerns:
I. Suuresh Kumar - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
Maybe you are looking for
-
Tecra M3 - when the motorized screen is completely black
Hi all I really need help with this one!I plugged my tour through an S-video to a flat screen and watched a movie and throughout the film, everything worked very well. I stopped regular and normal. Went home and it start and started regularly and I g
-
Problem with Wifi on all Apple devices on my network
Hello everyone, a few days ago, I started having WIFI problems on my network at home with only the APPLE DEVICES, we have a MacBook Pro 2012, two IPhone 6 + s and also a PC all WIFI windows running on a Netgear R7000 Nighthawk (ISP Comcast). The wind
-
EliteBook 2530p: missing Base system device driver
Hello Follow-up of the other threads and it's the details of the device: PCI VEN_1180 & DEV_0843 & SUBSYS_30E1103C & REV_12PCI VEN_1180 & DEV_0843 & SUBSYS_30E1103CPCI VEN_1180 & DEV_0843 & CC_088000PCI VEN_1180 & DEV_0843 & CC_0880 Can you help me?
-
Error message "unable to save the file. ToR Adv.docx is not a valid short file name"
I tried to save a Word file and received the above message. I had previously saved the file with hit of the same name. I tried with a different name, the same message. I deleted the original file, the same message.
-
Hi, I want to create LOV at two levels, I get the values of service, how to get this feature for example I show popular banks in one level and other banks in other level from the drop-down list looks like this Pouplar CIty Hdfc fed