Can I automate the creation of a simulated device?
I see I can create simulated devices OR Max is it possible to automatically create devices of simulations? I want software unit as part of an automated deployment process testing
Hi Chris,
Sorry, I thought that the System Configuration OR > LabWindows/CVI function appeared when you install OR-DAQmx (after selecting "Custom"), but it doesn't.
Here's what you need to do:
- Configuration of system OR download: http://joule.ni.com/nidu/cds/view/p/id/2613/lang/en (or select from the Driver DVD NOR)
- Select LabWindows/CVI:
- nisyscfg.h must be installed in %ProgramFiles%\National Instruments\Shared\CVI\include.
- nisyscfg.lib must be installed in %ProgramFiles%\National Instruments\Shared\CVI\ExtLib\msvc. Note that it need to link against user32.lib as well.
Brad
Tags: NI Hardware
Similar Questions
-
How can I automate the creation of a partition from scratch for a large number of hosts?
I would like to help with the following steps to cerate a partition scratch on all hosts that have no script, then reprot back to me which guests were to have created.
all my ESXi hosts have a LUN to start with the space, all the boot LUN are named with the same naming that is conveiton "hostname-localstorage.
I would like to come up with a script that will check each host in a cluster for a partition of scaratch, if it does not create the folder ".locker -hostname" on local storrage and then set the partition scratching to the new location. Then the new report to me, which is already a partition from scratch and those to whom he owed create a parition scratch to so I can plan then a good time to put the hosts with newly created partitions scratch mainenance mode and restart their.
I glued the manual way to do it below. I'd appreciate any help anyone can give and it will be well appreciated. I try to avoid to do 1000 hours below. Thanks in advance...
Note: Before you begin, make sure that/tmp/scratch exists. If it does not exist, create it by using the command #mkdir/tmp/scratch.- Open a command prompt where the PowerCLI is installed.
- Connecting to host ESXi using the command:
connect-viserver ESXHostnameOrIP
- A list of the data stores accessible by using the ESXi Host command:
Get-Datastore
- Mount a read/write as a PSDrive data store using the command:
New-PSDrive -Name "mounteddatastore" -Root \ -PSProvider VimDatastore -Datastore (Get-Datastore "DatastoreName")
- Access the PSDrive new using the command:
Set-Location mounteddatastore:
- Create a directory named only for the ESXi host using the command:
New-Item "DirectoryName" -ItemType directory
For example:New-Item ".locker-ESXHostname" -ItemType directory
- Check the current value of the
ScratchConfig.ConfiguredScratchLocation
configuration with the command option:Get-VMHostAdvancedConfiguration -Name "ScratchConfig.ConfiguredScratchLocation"
- Change the
ScratchConfig.ConfiguredScratchLocation
configuration option, specifying the full path to the directory created in step 6, using the command:Set-VMHostAdvancedConfiguration -Name "ScratchConfig.ConfiguredScratchLocation" -Value "/vmfs/volumes/DatastoreName/DirectoryName"
For example:Set-VMHostAdvancedConfiguration -Name "ScratchConfig.ConfiguredScratchLocation" -Value "/vmfs/volumes/Datastore1/.locker-ESXHostname"
- The ESXi host in maintenance mode and restart so that the configuration change to take effect.
Mike P
I have something similar to use the script below.
I think you'll find that your out in there.
$configName = 'ScratchConfig.ConfiguredScratchLocation' $mode,$warn = Get-PowerCLIConfiguration | %{$_.DefaultVIServerMode,$_.DisplayDeprecationWarnings}Set-PowerCLIConfiguration -DefaultVIServerMode "Multiple" -DisplayDeprecationWarnings:$false Get-VMHost | where {$_.ExtensionData.Config.Product.ProductLineId -eq "embeddedEsx"} | %{ Connect-VIServer -Server $_.Name -User root -Password MyPswd $scratch = (Get-VMHostAdvancedConfiguration -VMHost $_)[$configName] $tgtName = ".locker-" + $_.Name.Split('.')[0] if($scratch -notmatch ($tgtName + "$")){ $ds = Get-Datastore -VMHost $_ | where {$_.Name -match "localstorage"} if($ds){ Set-Location -Path $ds.DatastoreBrowserPath New-Item $tgtName -ItemType directory Set-VMHostAdvancedConfiguration -Name $configName -Value ('/vmfs/volumes/' + $ds.Name + '/' + $tgtName) -Confirm:$false Set-VMHost -VMHost $_ -State 'Maintenance' -Confirm:$false Restart-VMHost -VMHost $_ -Confirm:$false Set-VMHost -VMHost $_ -State 'Connected' -Confirm:$false } } Disconnect-VIServer -Server $_.Name} Set-PowerCLIConfiguration -DefaultVIServerMode $mode -DisplayDeprecationWarnings:$warn
It uses the DatastoreBrowserPath that Vitali has suggested.
-
Automate the creation of 11g SGD administrator
Is it possible to automate the creation of a 11g SGD administrator? I can automatically create the database user, but there are a few privs resources which must be granted as well. If someone has done this, I would be grateful for a few steps in the right direction.
Thanks in advance.Abandon - type = "DB_EXTERNAL_USER" and your user name will be created as a repository authenticated user (EM_USER) (which will be a database user).
Type
Type of user. The default value of this parameter is EM_USER. Possible values for this parameter are:
EM_USER
EXTERNAL_USER
DB_EXTERNAL_USER
-
I can't receive the iMessages on all my devices
I can't receive the iMessages on all my devices
Read here:
With the help of iMessage
http://support.Apple.com/kb/HT3529
IMessage activation troubleshooting:
-
I can't get the app to Windows Mobile Device to recognize my HP IPAQ to download reports
Original title: Mobile device application
I can't get the app to Windows Mobile Device to recognize my HP IPAQ to download the reports. It worked fine on Windows 7, but will not work on Windows 8. Should I upgrade to Windows 7, or to do damage on the new computer.
Hello
It seems that the application is not compatible with Windows 8. I suggest you to install the application in the Windows 7 compatibility mode to see if that helps.
a. find the executable (.exe file) file for the driver installation program.
b. right click on the file and then click Properties.
(c) in the Name of the Package Properties dialog box, click the compatibility tab.
d. Click to select the checkbox run this program in compatibility mode for , click on Windows 7 with which it is compatible with in run this program in compatibility mode for the list and then clickOK.
e. double click on the executable file to start the Setup program.
Hope this information helps.
-
Is it possible to automate the creation of an UCxn account?
We currently lack 9.1 connection of the unit. A question which was to haunt me for a while is the fact that even if we sync LDAP would be, there is still no automated method to import accounts. I wonder if anyone has found a way (or saw something third party) that can help automate this process?
Once you go to 10 you can use first supply to all in one step.
HTH
Java
If it helps, please note
-
Automate the creation of the VM
I was wondering if there are options that allows you to create virtual machines automatically on the desktop (I use Workstation 11)? Ideally, I want to be able to produce a virtual machine with a simple click of a button. I'm going to use this virtual machine to start WinPE and recover an image file, it will not an OS so I can't use the templates of.
Any suggestion would be appreciated. Thank you.
Adjust to meet your needs - see attachment
-
can't automate the listener on startup under redhat 6.3
Dear oracle specialists I installed oracle 11g r2 on linux RedHat 6.3 after a successful installation and automating db departure
can't automate starts high earpiece however able to start it manually since I was new as well bi for oracle in order to
scripts Linux can help me find the error
----------------------------
Oracle 2918 0.4 0.0 1984168 18440? SS 06:33 0:00 ora_pmon_ice Oracle 2920 0.3 0.3 1982056 15308? SS 06:33 0:00 ora_vktm_ice Oracle 2924 0.3 0.0 1982056 15392? SS 06:33 0:00 ora_gen0_ice Oracle 2926 0.3 0.0 1982056 15248? SS 06:33 0:00 ora_diag_ice Oracle 2928 0.5 0.0 1982080 23492? SS 06:33 0:00 ora_dbrm_ice Oracle 2930 0.3 0.0 1982056 15464? SS 06:33 0:00 ora_psp0_ice Oracle 2932 0.4 0.0 1982568 19000? SS 06:33 0:00 ora_dia0_ice Oracle 2934 1.6 0.9 1982056 39228? SS 06:33 0:03 ora_mman_ice Oracle 2936 0.5 0.0 1987812 22012? SS 06:33 0:00 ora_dbw0_ice Oracle 2938 0.5 0.0 1997608 23436? SS 06:33 0:00 ora_lgwr_ice Oracle 2940 0.4 0.0 1982568 18356? SS 06:33 0:00 ora_ckpt_ice Oracle 2942 0.7 0.0 1982616 34412? SS 06:33 0:00 ora_smon_ice Oracle 2944 0.5 0.0 1982576 22268? SS 06:33 0:00 ora_reco_ice Oracle 2946 0.2 1.4 1987896 64636? SS 06:33 0:00 ora_mmon_ice Oracle 2948 0.4 0.0 1982056 20340? SS 06:33 0:00 ora_mmnl_ice Oracle 2950 0.3 0.0 1983956 15356? SS 06:33 0:00 ora_d000_ice Oracle 2952 0.3 0.0 1983120 14520? SS 06:33 0:00 ora_s000_ice Oracle 2994 0.3 0.0 1982056 17344? SS 06:33 0:00 ora_qmnc_ice Oracle 3205 0.1 1.2 1988764 54972? SS 06:33 0:00 ora_cjq0_ice Oracle 3207 0.7 0.0 1983640 31268? SS 06:33 0:00 ora_q000_ice Oracle 3209 0.7 0.0 1985556 32068? SS 06:33 0:00 ora_q001_ice Oracle 3269 1.0 0.6 1983632 27092? SS 06:36 0:00 ora_j000_ice Oracle 3271 0.3 0.0 1982052 15032? SS 06:36 0:00 ora_j001_ice Here's my database looks like after automatic loads the operating system after the show
the PS command
and here's my interlocutor after issuing. / lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on August 2, 2013 06:42:43
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
Linux error: 111: connection refused
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=ICELANDLOCAL.localdomain) (PORT = 1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
Linux error: 111: connection refused
---------------------------------------------------
.bash_profile environment variables
export PATH
umask 022
export TMPDIR = / tmp
export ORACLE_BASE = / u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.1/dbhome_1
export ORACLE_HOME_LISTNER=$ORACLE_BASE/product/11.2.1/dbhome_1
Export ORACLE_HOME_LISTNER = $ORACLE_HOME
Export TNS_ADMIN = ORACLE_HOME/network/admin
export LD_LIBRARY_PATH = $ORACLE_HOME/lib: / lib: / usr/lib
export PATH = $ORACLE_HOME/bin: $PATH
export ORACLE_SID = ice
and my free from oracle startup script
Description #: Oracle automatic start-stop script.
#
# Define ORA_HOME as equivalent to the $ORACLE_HOME
# from which you want to run dbstart and dbshut;
#
# Define ORA_OWNER to the userid of the owner of the
# Oracle in ORA_HOME server.
ORA_HOME=/U01/app/Oracle/product/11.2.1/dbhome_1
ORA_OWNER = oracle
If [! f $ORA_HOME/bin/dbstart]
then
echo "Oracle startup: cannot start.
output
FI
case '$1' in
'Start')
# Run Oracle databases:
# The following command assumes that the oracle connection
# will not prompt the user for all values
known $ORA_OWNER - c "start ORA_HOME/bin/lsnrctl $ LISTENER."
known $ORA_OWNER - c $ORA_HOME/bin/dbstart $ORA_HOME
touch/var/lock/subsys/Ben
;;
'stop')
# Stop the Oracle databases:
# The following command assumes that the oracle connection
# will not prompt the user for all values
known $ORA_OWNER - c $ORA_HOME/bin/dbshut $ORA_HOME
known $ORA_OWNER - c "ORA_HOME/bin/lsnrctl stop $ LISTENER."
RM-f/var/lock/subsys/Ben
;;
ESAC
any suggestion or help would be appricieated
Thanks in advance
you are right about the listener
Here is my old script released
#! / bin/sh
# chkconfig: 345 99 10
Description #: Oracle automatic start-stop script.
#
# Define ORA_HOME as equivalent to the $ORACLE_HOME
# from which you want to run dbstart and dbshut;
#
# Define ORA_OWNER to the userid of the owner of the
# Oracle in ORA_HOME server.
ORA_HOME=/U01/app/Oracle/product/11.2.1/dbhome_1
ORA_OWNER = oracle
If [! f $ORA_HOME/bin/dbstart]
then
echo "Oracle startup: cannot start.
output
FI
case '$1' in
'Start')
# Run Oracle databases:
# The following command assumes that the oracle connection
# will not prompt the user for all values
known $ORA_OWNER - c "start ORA_HOME/bin/lsnrctl $".
known $ORA_OWNER - c $ORA_HOME/bin/dbstart
touch/var/lock/subsys/Ben
;;
'stop')
# Stop the Oracle databases:
# The following command assumes that the oracle connection
# will not prompt the user for all values
known $ORA_OWNER - c $ORA_HOME/bin/dbshut
known $ORA_OWNER - c "ORA_HOME/bin/lsnrctl stop $.
RM-f/var/lock/subsys/Ben
;;
ESAC
and here's my new script released
#! / bin/sh
# chkconfig: 345 99 10
Description #: Oracle automatic start-stop script.
#
# Define ORA_HOME as equivalent to the $ORACLE_HOME
# from which you want to run dbstart and dbshut;
#
# Define ORA_OWNER to the userid of the owner of the
# Oracle in ORA_HOME server.
ORA_HOME=/U01/app/Oracle/product/11.2.1/dbhome_1
ORA_OWNER = oracle
If [! f $ORA_HOME/bin/dbstart]
then
echo "Oracle startup: cannot start.
output
FI
case '$1' in
'Start')
# Run Oracle databases:
# The following command assumes that the oracle connection
# will not prompt the user for all values
Su - oracle - c "start ORA_HOME/bin/lsnrctl $".
known $ORA_OWNER - c $ORA_HOME/bin/dbstart
touch/var/lock/subsys/Ben
;;
'stop')
# Stop the Oracle databases:
# The following command assumes that the oracle connection
# will not prompt the user for all values
known $ORA_OWNER - c $ORA_HOME/bin/dbshut
Su - oracle - c "ORA_HOME/bin/lsnrctl stop $.
RM-f/var/lock/subsys/Ben
;;
ESAC
as I said I came to this at random by the help of this article
http://yong321.freeshell.org/oranotes/UnixStartupScripts.txt
-
Automate the creation of contour in Essbase with lots
I installed Essbase and IST version 11 and created meta-model and Meta outline in the environmental impact assessment.
Also created an application in the service of the Administration of Essbase. I need help to load the dimensions of the environmental impact study in the
Application using a batch file.
Any help/input would be really appreciated.
EAS/IST/Essbase all three are installed on the same server (windows platform) and database is oracle 10g on the same server.
I need to automate the process of creating the sketch.
Thanks in advance.If you have used EIS, you will notice in the console, when the dimensions of the building or loading data, you can run it immediately, distributes them or save them to a file of cbs. IF save you it as a file of cbs, you can then plan their use with a batch file to run them. The Administrator's guide has a very good explanation of what do the different commands and how to run them
-
Creating Windows dvd:
Computer crashed this program how to get back lost
Do you still have the program, but maybe just lost the shortcut for it?
See what you have here, C:\Program DVD Maker, look for DVDMaker.exe.
It may be necessary to show both hidden and system files and also uncheck 'Hide known file types' in Control Panel / folder Options / view to navigate to the specified location.
If you have the .exe, and then you can right-click on the .exe and "Pin" in the Start Menu or use "send to" to place a shortcut on the desktop.
If you type DVDMaker.exe in Start Menu / search box, or men Start / RUN box, which could launch for you.
You can try restoring the system also.
How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista (or 7)
http://support.Microsoft.com/kb/936212/#appliesTo -
How can I automate the process of replacing these. PNG in my art?
I have a very large project, that I'm in the middle and it becomes very painful to have to do these one by one.
I've already sorted 'go - to'.psd I copied and pasted into all subdirectories of name-based. Now, it's just a matter to recreate with the insignia of various clans and tartan as well as their name. First of all, I was wondering if there is a way to bulk to replace the badge 'clan '. PNG is even if they are all named differently by their clan.
If this is possible then it is perhaps possible to replace the tartan aswell?
What is the name, I have files delimited by tabs that crank out every spelling of the name clans individual once the main file has undergone all the work described above. I.O. If the clan has a common spelling of 'Auchinleck' but also goes by, file in step finals Affleck, Auchinlech, Aachnaleck, Auchinlick, then these will all be taken care of with the tab -delimited.
No control of Photoshop help would be most appreciated!
So you're a candidate to learn scripting.
Windows and Mac have an internal scripting language and Apple, PowerShell script respectively.
Photoshop can also use the script. Visual basic script on Windows and on Mac Apple script. Windows and Mac can also use JavaScript for Photoshop.
In the Photoshop script forum are links to learn more about writing scripts.
-
where can I find the creation of forum? and how to find my own questions in return?
waar vind ik het first elements forum en hoe vind ik mijn eigen Internet questions back?
where can I find the forum First of the elements? et How to find my own the questions asked back?
Arkitsa wrote:
Thank you 99jon, but it is always difficult to find your own questions return.
Click on this:
then this:
and finally this:
And your messages will be listed.
-
Dreamweaver can help in the creation of a referral of human age verification Page?
My client, a Destributer of beer and all other Web sites that sell alcohol, even the little guys, have seen an increase in audits by the Federal Trade Commission (FTC) and need a gateway for users to put their age, if more than 18, to view the site. Visit the Sam Adams for example: http://www.samueladams.com.
It seems that people choose one of the two methoods for this. Just a yes / no question about a referral page or a page where they actually put in their age. Whatever it is, it is created so that you can not access the site without verifying your age.
Is there something in Dreamweaver that can help me meet these technical requirements?
This is the site to date: http://www.atomic.cyndeeadkins.com/
It's still a work in progress of course...
As we are all aware, two methods are not completely foolproof.
If you want to just Yes / No, you can simply make a landing page with 2 buttons - Yes and no. The Yes button linking to the main site and no button for Google.com or some other page custom indicating their access is not that they are minors.
If you want a DOB field to validate the age, here's the script:
MM010203040506070809101112 DD01020304050607080910111213141516171819202122232425262728293031 YYYY20122011201020092008200720062005200420032002200120001999199819971996199519941993199219911990198919881987198619851984198319821981198019791978197719761975197419731972197119701969196819671966196519641963196219611960195919581957195619551954195319521951195019491948194719461945194419431942194119401939193819371936193519341933193219311930192919281927192619251924192319221921192019191918191719161915191419131912191119101909190819071906190519041903190219011900 -
How can I find the IP address of a device connected to the switch GS724Tv4?
I have a Netgear GS724Tv4 switch and I need to know the IP address of a device in the g19 port. Is possible due to the switch to see?
Thank you in advance.
Antonio
Hello DelTorre,
Welcome to the community!
Unfortunately, the GS724Tv4 doesn't have a table of IP addresses. I don't see a way on how you can see through the switch.
Thank you
-
After the update of the app, can not read the store persistent on some devices
Hello
I have a problem in an application I was able to reproduce in a simple test application.
The test application writes some info in the persistent store, then can read back and it seems to work fine.
If I change the version number of the application, then download the new version (by downloading a jad file in the browser), he invites me to replace the old version w / the new version, which I confirmed. After you download the new version of the app, he invites me to reboot the device, what I'm doing.
On most of the devices I tested this, after the reboot, when I run the app update, it works as expected - it can read the value written in the store persistent by the earlier version of the application.
However, on some devices, it is unable to do.
Debugging a bit, the error occurs when you try to get the object persistent via:
PersistentObject po1 = PersistentStore.getPersistentObject(MY_KEY);
This survey line an exception - exception message is simply 'null '. I don't know what is precisely the type of exception since it is a static method should not throw any exception that as far as I know, so I'm just catching a generic java.lang.Exception.
The same - in the version update of the application, if the software tries to write to the store persistent by using the ID of the object, the result is the same - the call to getPersistentObject throws an exception "null".
Note that I'm not changing anything this either on the object that is saved in the persistent store, and I'm not changing the identifier of object between the versions of the application.
A device on which I can reproduce this issue systematically is a Blackberry 9800 (Torch) running 6.0 Bundle 2647.
Any advice or suggestions how to debug this appreciated.
I tried to reproduce this on a Blackberry 9800 (Torch) running 6.0 Bundle 2647, identical to what noted you above but find the code example you posted worked well. Were there other changes between the versions other than increment the version number?
Is - what happens on multiple devices or just one? If it is just a device you can try to reload the software of the device in case anything is damaged.
Maybe you are looking for
-
tabs open only when the mouse moves
Updated to 38.2.0 ESR, now new links (tabs) not be loading not unless I constantly move the cursor. This has happened in a previous update, and I reloaded an older version. Is there another problem?
-
Is it possible to transfer music from an ipod 4G for the new model?
I got my ipod touch 4g since 2010 and I was too cheap to upgrade. Now that the battery life has been emptying faster than ever and high sleep button no longer works, I think its time to finally switch to this new model. The bad part is that for the l
-
Satellite L500-1XZ how to turn off bluetooth light says?
Hello! Y cannot turn off Bluetooth light.FN + F8 does not work, there have disabled the connection in windows-it is 100% disabled, but the led indicator is still eating my energy?(Windows 7, 32-bit) You have an idea what is the problem?Thank you much
-
Dear, I believe that market/tablet PC is moving towards PC-class, i. e. Tablet tablets with features and performance of the PC (which is apparently known for everyone I guess). That's also what the new iPad from apple Pro is basically designed to. Ho
-
NETGEAR D6200 abandons the connection
My netgear d6200 sometimes abandons the connection to my ISP, Ive tried to pass by the resolution of the problems several times and it goes through me by the same steps over and over until he finally asked my ISP details and then connects again and w