Stop trigger, how to specify the analogy trigger channel?
Dear All,
In fact, I am using DAQ2204 cards from ADLINK, which is more or less equivalent to NI E-series muttifuntion board. However, I have some problems with regard to my data acquisition program. Basically, it is about a middle/stop trigger application, which means data acquisition will be starting once the specified analogy channel (for example, channel 0) exceeds a prescribed value.And, data both before and after trigger will be acquired. However, I do not quite understand how to physically make the I/O connection and specify the analog trigger channel and level.
According to the board User's Guide, 'SRC1 can be used for all trigger modes while SRC2 can only be used for post and delay trigger modes'. I have come across similar description with NI examples before. It would therefore be very appreciated if anybody can help. Thanks in advance.
Hi dragondriver,
I'm providing below links to 2 documents that discuss wiring considerations that are applicable to your device. Hopefully this information is helpful!
E Series User Manual
http://www.ni.com/pdf/manuals/370503k.pdf
Field Wiring and Noise Considerations for Analog Signals
http://www.ni.com/white-paper/3344/en#toc5
Josh B
Applications Engineer
National Instruments
Similar Messages
-
How to specify the target name while deploying a code in OSB-- Plz Help
Hi all,
Am working in creating a cluster environment. For my testing i created a new managed server(OSB_Server) in 9001 port in the admin console itself and that server started running. The default managed server(Admin_Server) is in 7001 port. So when i deploy a code in 7001 sb console the WSDL gets exposed in 7001 because the default admin server port is 7001. While deploying a code in service bus admin console we are not specifying the target name. So how to specify the target name while deploying the code in service bus admin console. Plz help me.
Regards
PrabhuHi Prabhu,
There are three kind of server architecture possible for OSB -
1. Single server - Everything gets deployed on Admin server itself
2. Admin Server + Single Managed Server for OSB -- OSB configuration gets deployed on OSB managed server. OSB resources (proxy service, WSDL, Schema) will remain available on OSB managed server port only and NOT on admin server port
3. Admin Server + OSB cluster -- OSB configuration gets deployed on OSB cluster. OSB resources (proxy service, WSDL, Schema) will remain available on OSB Cluster port(s) only and NOT on admin server port
Converting one type of server architecture to any other type, requires a manual tedious process, so it is suggested that you create domain accordingly i.e. if you need clusters then while creating domain itself, create OSB cluster, so that all OSB applications gets deployed to OSB cluster. I will suggest you to create a clustered domain from scratch and import the configuration from your existing domian to this new clustered domain.
You may refer-
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15022/toc.htm
Regards,
Anuj -
Numbers to CSV export script: how to specify the encoding?
Hi,
I'm using the following script to export a Numbers document to CSV:
# Command-line tool to convert an iWork '09 Numbers
# document to CSV.
# Parameters:
# - input: Numbers input file
# - output: CSV output file
# Attik System, Philippe Lang
# Creation date: 31 mai 2012
# Modification date:
on run argv
# We retreive the path of the script
set myPath to (path to me)
tell application "Finder" to set myFolder to folder of myPath
# We get the command line parameters
set input_file to item 1 of argv
set output_file to item 2 of argv
# We retreive the extension of the file
set theInfo to (info for (input_file))
set extname to name extension of (theInfo)
# Paths
set input_file_path to (myFolder as text) & input_file
set output_file_path to (myFolder as text) & output_file
if extname is equal to "numbers" then
tell application "Numbers"
open input_file_path
save document 1 as "LSDocumentTypeCSV" in output_file_path
close every window saving no
end tell
end if
end run
It works fine, except that I don't know how to specify the encoding of the text in the CSV file (Latin1, MacRoman, Unicode). This option is available in the export dialog of Numbers. Any hint on how to do that is welcome. (GUI Scripting?)
Where can I find documentation on the iWork "vocabulary" available? Is there a definitive documentation somewhere? I tried to record an manual export in the script editor, without success. Script is more or less empty.
Thanks!
Philippe LangA further note from Yvan. He's made some revisions to the script sent earlier.
--{code}
--[SCRIPT export to CSV with selected encoding]
I added some features.
(1) Defining the encoding thru the preferences file apply only if
the application is not in use because the file is read only once in a session.
A test urge you to quit Numbers if it is running.
(2) info for is deprecated so it may be removed by Apple tomorrow.
I no longer use it.
(3) just for the fun, I added a piece of code allowing you to select the encoding on the fly.
Thanks to the property chooseEncodingInScript, at this time the script use Unicode (UTF-8)
(4) I'm wondering which tool is used to launch this script,
I don't know the way to pass arguments when I run one.
Yvan KOENIG (VALLAURIS, France)
2012/06/13
property chooseEncodingInScript : false
true = the script will ask you to select the encoding
false = the script use the embedded encoding
on run argv
set input_file to (item 1 of argv) as text
set output_file to (item 2 of argv) as text
set myPath to (path to me) as text
tell application "System Events"
set theProcesses to name of every application process
set myFolder to path of container of (disk item myPath)
set input_file_path to myFolder & input_file
set output_file_path to myFolder & output_file
set extname to name extension of (disk item input_file)
end tell
if extname is "numbers" then
if "Numbers" is in theProcesses then error "Please, quit “Numbers” before running this script !"
if chooseEncodingInScript then
set theList to {"Mac OS Roman", "Unicode (UTF-8)", "Windows Latin 1"}
set maybe to choose from list theList with prompt "Choose the default encoding applying to export as CSV"
if maybe is false then
error number -128
else if item 1 of maybe is item 1 of theList then
30 -- Mac OS Roman
else if item 1 of maybe is item 2 of theList then
4 -- Unicode (UTF-8)
else
12 -- Windows Latin 1
end if
else
4 -- Unicode (UTF-8)
end if
do shell script "defaults write com.apple.iWork.Numbers CSVExportEncoding -int " & result
tell application "Numbers"
open input_file_path
save document 1 as "LSDocumentTypeCSV" in output_file_path
close every window saving no
end tell
end if
end run
--{code}
Regards,
Barry -
How to specify the type of table in the form parameters
How to specify the type of table in the form parameters. for example, how to specify the type of table "vacancies".
FORM getcertainday
USING
vacancies TYPE STANDARD TABLE
efirstday LIKE hrp9200-zfirst_day
lfristday LIKE hrp9200-zfirst_day.Hi
Are you asking about subroutine program to declare a variable for perform statement etc
if it so check this coding
DATA: NUM1 TYPE I,
NUM2 TYPE I,
SUM TYPE I.
NUM1 = 2. NUM2 = 4.
PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
NUM1 = 7. NUM2 = 11.
PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
FORM ADDIT
USING ADD_NUM1
ADD_NUM2
CHANGING ADD_SUM.
ADD_SUM = ADD_NUM1 + ADD_NUM2.
PERFORM OUT USING ADD_NUM1 ADD_NUM2 ADD_SUM.
ENDFORM.
FORM OUT
USING OUT_NUM1
OUT_NUM2
OUT_SUM.
WRITE: / 'Sum of', OUT_NUM1, 'and', OUT_NUM2, 'is', OUT_SUM.
ENDFORM.
If your issue is some other can u explain me clearly
Regards
Pavan -
How to specify the database file path when create FDM application
Dear All,
How to specify the database file path (MSSQL) when create FDM application?
Right now, all data file are placed in the D:\ . I want to specify the database files (log and mdf file) in other place. How to do it?
Thanks.Where is the highS2.xml located on the disk? If you add it to your project you should set its Build Action to Content and its Copy To Output Directory to Always in Visual Studio:
Please remember to close your threads by marking helpful posts as answer once your issue has been solved and then start a new thread if you have a new question. -
How to measure the analogy voltage from different source?
Hi all,
I am trying to measure the voltage generated from a function generator ranged from -2V to +2V. I am trying to use a PCI-6023E for analogy input. I directly connect the voltage output from the generator to one of the analogy input channel, but the reading is not that accurate, it should be 2.4V but sometimes it read 2.6V and sometimes 2.2V or less. I am thinking if anything to do the the ground? Where should the ground of the BNC from the generator should connect to? Someone suggests to use differential input but I have no experience of doing that, any suggestion or example?Hi dragondriver,
I'm providing below links to 2 documents that discuss wiring considerations that are applicable to your device. Hopefully this information is helpful!
E Series User Manual
http://www.ni.com/pdf/manuals/370503k.pdf
Field Wiring and Noise Considerations for Analog Signals
http://www.ni.com/white-paper/3344/en#toc5
Josh B
Applications Engineer
National Instruments -
PC able to detect all except for the analog output channel of my SCB-68 device.
I would like to use the analog output channel of my SCB-68 device. I tried to locate the analog o/p using the wizard but still unable to detect. Why is that so?
Any possible steps/procedure that i have missed out?
ThanksRezn,
Aha, therein lies the problem. This was what I suspected, and thus my question as to which data acquisition card you are using. The DAQCard-AI-16XE-50 has analog inputs, digital I/O, but no analog outputs at all. So your card is working as it should, but it has no analog outputs.
If you have the 2002 National Instruments catalog, you can see this in a table on page 231 (your DAQ card is the one on the bottom), or check this pdf file:
http://www.ni.com/pdf/products/us/2mhw254-255e.pdf
Your card is also called the NI6012E. Check out the small table on the first page.
Mark -
How to specify the AI version which file shall be compatible with?
With AI 12.0.0 I need to save AI files so that they are compatible with AI version 10.
Adobe help Center says:
"Illustrator format options: When you save artwork to Illustrator format, you can set the following options: Version
Specifies the version of Illustrator with which you want your file to be compatible."
However, when I try to save the AI file I see no format options at all, so I cannot specify the desired AI version.
How do I get access to the saving options?
ArnoldIn AI 12 (CS2), you do not
export, you
save as. (The 'export' dalliance was instituted for v11 and abandoned for V12 as too confusing.)
At the first save dialog (wherein you give your file a name), hitting 'Save' should get you to a second dialog. Choose the version you desire from the dropdown at top: -
Hi all,
I just started doing the XML Xquery programming in my SQL Server 2012 Management Studio. I executed the following code:
--query the XML Blob using a CTE (pulling from the XML file each time) Products
WITH XmlFile (Contents) AS (
SELECT CONVERT (XML, BulkColumn)
FROM OPENROWSET (BULK 'H:\Products.xml', SINGLE_BLOB) ) AS XmlData
SELECT *
FROM XmlFile
GO
I got the the following Msg:
Msg 491, Level 16, State 1, Line 4
A correlation name must be specified for the bulk rowset in the from clause.
How can I specify the correction name for the bulk rowset in my project?
Please kindly help, advise and respond.
Thanks in advance,
Scott ChangHello Scott,
You have to assign a table alias for the OPENROWSET =>
--query the XML Blob using a CTE (pulling from the XML file each time) Products
WITH XmlFile (Contents) AS (
SELECT CONVERT (XML, BulkColumn)
FROM OPENROWSET (BULK 'H:\Products.xml', SINGLE_BLOB) AS MyXML ) AS XmlData
SELECT *
FROM XmlFile
GO
Olaf Helper
[ Blog] [ Xing] [ MVP] -
How to specify the font in a JList?
My application has four columns of data represented in a JList. The default font style does proportional spacing.
I need to specify a fixed width font to control column alignment in the JList. Unless there's something like tab positions? If I can specify a fixed width font, I can format the display strings appropriately.
I think I need to use a cell renderer to control the actual drawing of each cell in the JList?
Also, where do I find a list of the font types?
Thanks in advance!I don't think you need a cell renderer. You find out how to specify font names by (oddly enough) looking in the API documentation for the Font class; the info for the most usable-looking constructor tells you what you want to know.
-
How to Specify the environment variable JCE_POLICY_ZIP and restart
Hello All,
I am installing the ABAP SAP NetWeaver 7.01 SR1 ABAP Trial Version.
sapinst.exe installed successfully.
I am installing the sapinstgui.exe but I got the following message:
Program is starting... Please wait!
Path: C:\Users\George\AppData\Local\Temp\sapinst_exe.6220.1246290325
jre\bin\java.exe
For the requested processing mode java policy
files within the used SAP JVM are needed.
Specify the environment variable JCE_POLICY_ZIP and restart.
See also SAP note 1238121.
Exit status of child: 10
JRE is installed in C:\Program Files\Java\j2re1.4.2_19
How do I specify the environment variable JCE_POLICY_ZIP?
Thanks
George
Edited by: George King on Jun 29, 2009 9:01 PMHi everyone,
I had the same problem and found the solution !
I was trying to setup the GUI thanks to sapinstgui.exe from the trial download folder and I got the exact same message,
The problem is not the policies but the installation file.
The installation file for the GUI is located at :
<extract_folder_SAP_trial_version>\GUI\SAP_GUI_FOR_WINDOWS(...)\SAP_GUI_for_windows_(...)_Components.exe
Hope it helps !
Nicolas -
How can specify the max width of uix pages in a browser
If I have 7 tabs in my jheadstart application. This
works fine on a 1200X1000 resolution but on a
1024X720 resolution the users have a scrollbar
how can i specify the max resolution in jheadstartTnx Steven "God" Davelaar ;-)
Edwin:
When you are about to edit the tab-bars (any level),
make sure you disable the tabbar generation (service-
level). Each uix-page calls this tabbar with a parameter
for selected-tab (0 to n). If you edit the *tabbar.uit
and for example, merge 2 tabbars into 1 (with a level 2
globalheader for further navigation), don't just delete
the code in the uit-file, but simply set one of them to
rendered=false (instead of
data:rendered=groupname@infoTable:something). This will
not screw up the selected-tab settings on all pages where
the selected tabbar is on the right (higher number) of
your merged one.
And have fun with UIX (I know you will) -
How to specify the File PathName from a Sequence Call in C++?
Hi!
I've written a C++ program that creates a new sequence file.
I insert a new step (Sequence Call) and I also want to specify the module.
I want to add the File PathName. How can I make it?
I get a new property:
TS:ropertyObject *property = stepObj->AsPropertyObject();
I put a comment:
property->PutComment("comment");
And now I want to add "TS.SData.SFPath"
How can I make it? With 'property->NewSubProperty(..)'or 'property->SetValString(..)'
Who can help me?
Thanks in advance!!I found a solution.
-
How to specify the IP address in ORB server with multiple IPs
I'm working on a platform using corba to communicate with each other. For some purpose the server use stringification method (http://www.javaworld.com/javaworld/jw-02-1999/jw-02-enterprise.html?page=2) to tell the client the reference of the remote object. The ior string contains the ip address information of the server. The problem is if I have two network interfaces installed in my machine (ex an ethernet plus an wireless card ) How can I specified the ip address used by the IOR?
Arumugam.M wrote:
I saw a forum with netsh for changing the ip address of local system,,,, but noe i couldn't find out that,,,, if any one know please post it,,,Please read the responses in http://forums.sun.com/thread.jspa?threadID=5336317&tstart=0 . -
How to specify the sheet name while writing data into excel
_Workbook workbook = (_Workbook)(excelapp.Workbooks.Open(@"E:\ScriptTest\c.xlsx"));
workbook.Sheets.Add();
_Worksheet worksheet = (_Worksheet)workbook.ActiveSheet;
Line 1 Selection of excel sheet
Line 2:I am intersted in Adding the new sheet
Line3:Selection of Sheet
I want to select may be sheet 2 or sheet 3 like that
How to specify ?
And instead of just Add() can we specify name of sheet to be created also If yes how ?Hi,
Please try the sample code:
Dim aSheet As Worksheet
Set aSheet = Worksheets.Add()
aSheet.Name = "myWorksheet"
Worksheets("myWorksheet").Activate
http://msdn.microsoft.com/en-us/library/office/ff821537(v=office.15).aspx
PS:
This forum is for general questions and feedback related to Microsoft Excel, if you have more Excel develop issue, I recommend you post to MSDN forum
http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Maybe you are looking for
-
Ipod won't sync with itunes because unknown error(-69)
Before the newer version of itunes, all my music sync on to my ipod with no problem. Now after I updated to the most recent itunes, my music won't sync. I restored my ipod and I have the latest version of irunes. But it always say unkown error(-69).
-
Can't license my Photoshop Elements 12
Hi, I've bought Photoshop Elements 12 online in the Adobe shop. They send me the serial by mail. But when i try to license my trial version of elements 12, i always get this message: "This serial number for Adobe Photoshop Elements 12 could not be ch
-
Delete xml version in xml file
Hello, I have a strange thing to do. I need to delete xml version tag (<?xml version="1.0" encoding="utf-8" ?>) from en xml file. I use a receiver file adapter and I want to know how it's possible to delete this tag. I need to do that as receiving ap
-
Implement Parent child Relationship using SSIS
Could you please suggest the best way which should not impact the performance of data loading, to implement parent child relationship using SSIS. We have a flat file RECON80.dat which need to be loaded into the database into 2 tables. Parent Table Jo
-
I have merged a number of jpgs into a single pdf but for some reason it ends up being a strange page dimension - 23.6 in x 30.6 in. The jpgs were saved at a resolution so that they might print an 8.5 x 11 at 200 dpi. Is there a place you can set the