How to route the ctr0 in DAQ MX for PXI 6229?
Hello,
The counter ctr0 of the PXI 6229 is internally wired to PFI12.
How could i change the terminal on which this counter is wired? What is the function in LabWindows CVI 7.1 (NI_DAQ MX 7.3) should be used? Is there any example of this? (in all the CVI example the fact that we have to connect the counter to a terminal is just mentioned)
Thanks for your help!
guyom
You can change the output terminal on M Series devices using the following function:
int32 __CFUNC DAQmxSetCOPulseTerm(TaskHandle taskHandle, const char channel[], const char *data);
On M Series devices you can route the output of a counter to any PFI line.
I hope this helps!
gus....
Similar Messages
-
HT1338 how to route the mails directly to the folders in MS Office
I need to know how to route the messages to folders from In Box once they arrived in MS Office. I tried by applying rules but its not working.
Hi,
we can check the multiline present in receiver determination and specify the condition for both US an UK receiver systems.
Or if you are sure that only two (UK and US) will come , then check the condition for Say UK and check the defualt reciver system in case of failure ,if its US it will go to the default system.
You can also try out the interface determination condition, please check if below links can help.
How to write Conditions in Interface Determination for 2 IDOCs
Single File to multiple IDoc
Reciever idoc adapter Determination error
Regards,
Srini -
How to route the file, base on the file name without touching file content?
Hi All,
can you please provide me solution how to route the file based on file name with out touching file content.
Business criteria :
> One source directory having zip files with different file names
> File adapter have to pick the zip files and have to route it to different email addresses based on fist 5 characters of file name.
please provide possible solutions to route the zip files to target.
Regards,
Sreeramulu Konjeti.You can use Standard context object FILENAME.
in receiver determination Put a condition based on standard context object FileNAME
In the receiver determination, in the condition channel, use the Technical context object 'FileName' for file adapter.
Follow the below path:
Goto Receiver Detrmination --> Condition --> Left Operand f1 Help --> select first option 'Context Object' --> 1 List will be popped up --> Select FileName for File adapter from that list
It will route the file based on filename.
You can use CP for contains pattern (u2248) in condition
FileNAME u2248 ABCFI* -
How to set the gain and input coupling for each channel on a NI 4462 DaQ card?
I've seen a few examples in how to set the gain for NI 4462, but none tell me how to chose the channel I wish to set this gain. Also the same problem with input coupling
Does anyone know how to set the gain and input coupling for each individual channel?
Thanks,
Hector
LabView 8.5 Windows XPHey Hector,
http://forums.ni.com/ni/board/message?board.id=100&thread.id=1688
This has a few examples of how to do that. Let me know if you have further questions.
Have fun!
-gaving -
How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?
Dear Friends,
I am absolutely agree with your answer .
But my question is,
Lets say.....
One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
Hope you all understood my requirement .
Thanks & Regards,
Aditya -
How to find the number of references created for a given object ??
How to find the number of references created for a given object in a big application environment.
That means, if i give any object name (of my application) as input, then how can i find the[b] number of references created for that particular object ??Please do not post the same question multiple times.
As for your original question, there is no direct way to do it.
Especially not the way you phrased it,
since objects don't have "names".
Applications also don't have "names".
They have classes and instances.
Also, there are 2 related issues, and I'm not sure which one is the one you asked.
#1. Finding the number of references to the same object.
Eg.
Map<String,String> a = new HashMap<String,String>();
Map<String,String> b = new HashMap<String,String>();
Map<String,String> c = a;In this case, there are only 2 objects.
The first object has (at least) 2 references pointing to it.
The second object has (at least) 1 reference pointing to it.
(There may be more, if the HashMap library keeps
references to these things, or if the HashMap object has
some internal cyclic references...)
If you're asking this, then it can't be done.
It's an active research topic in universities
and software research labs, called "alias analysis".
Type it in google, and you'll see people are working hard
and having little success so far.
#2. Finding the number of instances created from a class.
In this case, what you have to do is to add a counter to
the constructor of the class. Every time an object is constructed,
you increment the counter. Like this:
class MyClass
public static int counter = 0;
public MyClass( ) { counter++; }
// Then later in your program, you can do this:
MyClass a = new MyClass();
MyClass b = new MyClass();
System.out.println(MyClass.counter); // It should show 2Note: you won't be able to do this to every class in the system.
For every class you care about, you have to modify its constructor.
Also: when an object is deleted, you won't always know it
(and thus you won't always be able to decrement the counter).
Finalizers cannot always work (read Joshua Bloch's
"Effective Java" book if you don't believe me), but basically
(1) finalizers will not always be called, and
(2) finalizers can sometimes cause objects to not be deleted,
and thus the JVM will run out of memory and crash -
How to get the data from pcl2 cluster for TCRT table.
Hi frndz,
How to get the data from pcl2 cluster for tcrt table for us payroll.
Thanks in advance.
Harisumanth.ChPL take a look at the sample Program EXAMPLE_PNP_GET_PAYROLL in your system. There are numerous other ways to read payroll results.. Pl use the search forum option & you sure will get a lot of hits..
~Suresh -
How to restrict the change access in CRM for OLTP orders
Hi Guru's,
Please let me know how to restrict the change access in CRM for the orders that are created in ECC. The ECC orders will only for display in CRM but not for change,
We have the orders that are created in ECC, it will flows to CRM and should restrict the access to get in to the change mode in CRM but as of now CRM system is allowing change mode for ECC orders and ending up with errors.
Is there any additional middleware parameter that needs to be added to SMOFPARSFA table to get this functionality! Please advice! Thank your for your help.
Regards
SuneelHi.
You can use the PFCG role to control if the user is able to create, change, delete or only display a business transaction type.
Regards. -
How to get the file size (in bytes) for all files in a directory?
How to get the file size (in bytes) for all files in a directory?
The following code does not work. isFile() does NOT recognize files as files but only as directories. Why?
Furthermore the size is not retrieved correctly.
How do I have to code it otherwise? Is there a way of not converting f-to-string-to-File again but iterate over all file objects instead?
Thank you
Peter
java.io.File f = new java.io.File("D:/todo/");
files = f.list();
for (int i = 0; i < files.length; i++) {
System.out.println("fn=" + files);
if (new File(files[i]).isFile())
System.out.println("file[" + i + "]=" + files[i] + " size=" + (new File(files[i])).length() ); }pstein wrote:
...The following code does not work. Work?! It does not even compile! Please consider posting code in the form of an SSCCE in future.
Here is an SSCCE.
import java.io.File;
class ListFiles {
public static void main(String[] args) {
java.io.File f = new java.io.File("/media/disk");
// provides only the file names, not the path/name!
//String[] files = f.list();
File[] files = f.listFiles();
for (int i = 0; i < files.length; i++) {
System.out.println("fn=" + files);
if (files[i].isFile()) {
System.out.println(
"file[" +
i +
"]=" +
files[i] +
" size=" +
(files[i]).length() );
}Edit 1:
Also, in future, when posting code, code snippets, HTML/XML or input/output, please use the code tags to retain the indentation and formatting. To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form. It took me longer to clean up that code and turn it into an SSCCE, than it took to +solve the problem.+
Edited by: AndrewThompson64 on Jul 21, 2009 8:47 AM -
How to change the color background in Pages for iPad?
how to change the color background in Pages for iPad?
You can find many themes at https://github.com/hdoria/xcode-themes There's a download zip button on the right side of the page.
Unzip and and copy the .dvtcolortheme files into /Users/YourUsername/Library/Developer/XCode/UserData/FontAndColorThemes Create the directory if it doesn't exist.
If you can't find the Library directory you can get to it by using Finder's "Go to Folder..." option under "Go" or press shift + cmd + G then type the path. -
how to download the parallels desktop 3.0 for mac
Hello,
http://kb.parallels.com/en/5802
http://www.amazon.com/Parallels-Desktop-3-0-Mac-Version/dp/B000GHIV2Q -
How to find the count of tables going for fts(full table scan in oracle 10g
HI
how to find the count of tables going for fts(full table scan) in oracle 10g
regardsHi,
Why do you want to 'find' those tables?
Do you want to 'avoid FTS' on those tables?
You provide little information here. (Perhaps you just migrated from 9i and having problems with certain queries now?)
FTS is sometimes the fastest way to retrieve data, and sometimes an index scan is.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:9422487749968
There's no 'FTS view' available, if you want to know what happens on your DB you need, like Anand already said, to trace sessions that 'worry you'. -
Without to change the setting.how to set the decimal place to 7 for an UDF.
Without to change the setting, how to set the decimal place to 7 for an UDF?
Hi
Once you create a UDF it will automatically be binded to the data source of data type that you gave at the time of creating UDF.
So i think you can not set the decimal places without changing the setting in display parameters.
i am not sure whether it will work or not one thing you can try is that create it as a alphanumeric data type and convert your decimal value to sting and then assign it to UDF,While retrieving for any manipulation you convert it as decimal.
Hope it helps you
Regards
Vishnu -
How to decide the no.of models required for our application implemention
Hi ,
i ahve one basic quetion in WD development.
how to decide the no.of models (aRFC ,EJB..etc ) required or needed to get the functionality of our application ?
for Ex:
my application consisits of belwo functionalities.
1. serach for the country
2.display the bank lis for the above country
3.display the bank details of the selected bank in the step no.2
any one of you explain me how to decide the no.of models required for avoe functionalities .
or is it in a single model we can include the all the above functionalities ?
Regards,
GovinduHi
It all depends on application to application and requirements better to consult with functional guys or team lead what exectly they want to implement .All could be possible with RFC or EJB , some alternatives are
1. serach for the country : For this standard java API is there which populate all country (no need any rfc or ejb)
2.display the bank lis for the above country : (Check if there any webservices for this or create manually value help for this , even if u will use the RFC abaper guys will do the same )
3.display the bank details of the selected bank in the step no : step 2 will solve this also with one additional field i.e address and details.
I hope you agree with the point that stand alone WD app can do these all thing without any model.
Best Regards
Satish Kumar -
How to run the setup tables in CRM for 0CRM_LEAD_I datasource.
Hi all,
How to run the setup tables in CRM for 0CRM_LEAD_I datasource.
what is the tcode and steps to follow.
Thankyou.you dont have to do set up tables for 0CRM_LEAD_I.
run the init infopack in BW and then subsequent delta's
Maybe you are looking for
-
I have just purchased a used 3gs and the previous owner hadnt reset it.
I have just purchased a used 3gs and the previous owner hadnt reset it. So i did the reset and left it over night as this can take a few hours. This morning 10 hours later there is stillthe cirlcle going round in the centre of the screen. There is no
-
I can't eject two hard drives from the desktop so when i try it I get always the same "The disk xxxx is in use and could not be ejected". I quitted every application, i did some reboots, resetting PRAM and the problem remains. I need help.
-
How do i find the list of apple staff picks/favorites?
How do i find the list of apple staff picks/favorites?
-
Programmatically controlling NI-1407 standard video types
Is it possible to programmatically control the standard video type on a NI-1407 Frame Grabber. For example, switch between RS-170 and CCIR within LabView code. (I know this is a simple chore if you utilize MAX)
-
we are using JSF on tomcat, integrated in JBOSS. debugging is really horrible here - do you know, where i set debug levels or i can retrieve fine debug error message, also for JSF errors? thanks in advance, stefan