How do i detect DAQ device number programatticaly using Visual Basic (not using MAX)?
how do i detect DAQ device number programatticaly using Visual Basic (not using MAX)?
Several of the CWDAQ objects have Device (the device number), DeviceName, and DeviceType properties that I think will give you the information that you're looking for. For more information, look in the index of the Measurement Studio reference for Device, DeviceName, and DeviceType.
- Elton
Similar Messages
-
You changed the order of the menu for "Open in a new window" or "Open in new Tab", How can I change it back? Or how can I omit any reference to tabs? I do not use them at all.
You can use the Menu Editor add-on to rearrange or remove menu items - https://addons.mozilla.org/firefox/addon/menu-editor
-
How to download a pdf file in external storage(sd-card) not use a isolated storage wp8
i have a url for download pdf file return by webservices
and i have attach this link in hypertext button this is start a download but in browser . and when i am google for this purpose the give me "
Background file transfer
" Process and then code is also using a isolated storage but i want a external storage process Please Help me
how to download a pdf file in external storage(sd-card) not use a isolated storage wp8Hello,
This forum is for discussions and questions regarding profiles and Microsoft's recognition system on the MSDN and TechNet sites. It is not for products/technologies.
As it's off-topic here, I am moving the question to the
Where is the forum for... forum.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
I have paid once for one month subscription for al jazeera sport live app. I just released after few months that they are automatically charging me on monthly bases. How i can stop them charging me for something i did not use and i did not authorize?
You possibly set up an auto-renewing subscription with the app - there are instructions on this page on how to manage them, including how to stop them : http://support.apple.com/kb/HT4098
-
How to check whether a Document in KM is classified or not using JAVA API
Hello Everyone,
Can anyone tell me, How to check whether a Document in KM is classified or not, using JAVA API's??
Thanks & Regards,
Adren D'SouzaHi,
The code is as follows:
IIndexService indexService = null;
try {
indexService = (IIndexService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.INDEX_SERVICE);
} catch (ResourceException e) {
if (indexService == null) {
log.errorT("Error on instanciating the index service");
return this.renderMessage(this.getBundleString(RES_NO_INDEX_SERVICE), StatusType.ERROR);
// get index
IIndex index = null;
try {
index = indexService.getIndex("YourIndexID");
} catch (WcmException e1) {
log.errorT("Error when trying to get the index");
return this.renderMessage(this.getBundleString(RES_NO_INDEX), StatusType.ERROR);
// check if the index is a instance of AbstractClassificationIndex
AbstractClassificationIndex classiIndex = null;
if (index instanceof AbstractClassificationIndex) {
classiIndex = (AbstractClassificationIndex) index;
} else {
log.errorT("The index " + index.getIndexName() + " is no classification index");
return this.renderMessage(this.getBundleString(RES_NO_CLASSIFICATION_INDEX), StatusType.WARNING);
//give your KM Resource here for which you want to know if it is classified or not
boolean classified = classiIndex.isDocClassifiedInAnyTax(resource);
Regards,
Praveen Gudapati -
Hello, I'm trying to use my MAC Book Pro with Adobe FMLE. Once I select either my internal or external camera and microphone, in the live encoder I get this error message. "Please check if video devices are connected properly and are not used by any other application." The Facetime HD camera works in Photo Booth. Can someone assist me in what to do please, Thanks in advance!
Hi all ,
We found the solution for this issue .
We have installed the crypto library in global executable directory and any way it will replicate those binaries to individual application servers.
But the parameters are still looking for global executable directory for loading crypto library during time.
So all application servers are trying to load crypto library files from global "exe" instead of local directory, which was clustered .Sometimes during heavy network load it may cause some delays to load the libraries to individual application servers and in turn is causing the license key issues.
Note 982056 - The license key library has not been initialized yet..
SAP Recommend option for all SSF parameters should be instance profile parameters not in default parameters..This was mentioned in below note:
Note 662340 - SSF Encryption Using the SAPCryptolib --- .
But in our Environment SSF and SEC parameter were set in DEFAULT profile instead Instance profile.
Recommendations:
o ssf/ssfapi_lib = <Path and file name of SAPCRYPTOLIB>
o sec/libsapsecu = <Path and file name of SAPCRYPTOLIB>
This was mentioned in the below SAP HELP.
http://help.sap.com/saphelp_nw04/helpdata/en/3d/bf463c6796e61ce10000000a114084/frameset.htm. -
How to access Oracle Data Base on Unix using Visual Basic ?
Hi !
I want to use visual basic and access the Oracle Data Base on Unix server. How can i do that ? Do i need any software?
.PrashantYou need an oracle client installation and setup your TNS names.
-
How can I determine the device number from the task ID
I'm using 'Port Config' to initialize my DIO port for a NI-DAQ 6052E. Port Config returns a task id and it would be very useful if I could determine what device number I have based on the task id.
Hello,
Thank you for contacting National Instruments.
It is not possible to determine the device number programmatically from the task id. This would be slightly redundant since you must supply a device number when you Port Config executes. You could simply create a local variable of the Device Number control that is connected to the Port Config.vi if you need to use the device number elsewhere in your VI. Simply right-click on the Device number control and select Create >> Local Variable. Then right click on the local variable and select change to read. This will allow you to read the value of the device number you provided anywhere in your VI.
If you would rather determine the actual device that is being used rather than the device number, yo
u can use the Get DAQ Device Info.vi. I have attached a simple example program that demonstrates how to use the VI.
Regards,
Bill B
Applications Engineer
National Instruments
Attachments:
Write_to_1_Dig_Port_(E).vi 58 KB -
How do i detect the maximum number of lines
Situation:
I have a textfield that displays about 8 lines of text before
the content would need to be scrolled to view the remaining
content.
Question
Rather than having some ActionScript that is constantly
trying to scroll the field, how do i detect the following.
How do i determine the maximum number of lines that may be
displayed in a textField (or any type of text field) before
scrolling would be needed?
Please specify the method. Thank you.When tracing the output using the bottomScroll, it only tells
me how many liines I have output to the textfiedl, it does not tell
me how many lines the textfield can hold.
How do I determine how many lines a textfield can
hold? -
how do i simulate a DAQ device
in MAX and use it for testing applications without hardware???
If my application requires inputs
from external hardware to proceed how can I simulate a DAQ device in LabVEIW?
i need to simulate several Digital inputs and Outputs to test the software. currently i dont have the hardware and DAQ device here.
please reply with your valuable suggestions.
many thanks in advance
RENN
Kudos always welcome for helpful posts
Solved!
Go to Solution.Hi,
There is no option to simulate traditional device.You need hardware for that so i would suggest to simulate a PXI device which has similar configuration to PCI-6014 and to do a small modification to your application.. -
How to call "detect capture devices" in my program
Hi,
I'd like to develop a webcam program. Is it possible to call jmfregistry's "Detect Capture Devices" in my code? So I don't have to ask the user run jmfregistry.
Thanks,
Derekdetect capture devices is dependent of the plataform. I recommend to look into the source code of JMFRegistry and JMF.
-
How can I detect a certain text within a field within CASE using IF
Dear all,
for a transformation / generation of values receiving from R/3 into BW I try to
manupulate three fields. I have a problem detecting a string in a field.
I am using a CASE with several WHEN clauses on one field. Depending on the
value, an IF is integrated. There I look into another field evaluating, if it contains
a certain string. E.g. IF STRING CP 'xyz' OR 'abc'.
System gives error for the locigal expression. I also tried CS, but same error.
How can I detect a certain text within a field and which is the right logical
expression.
Many thanks in advance!!!
ClaudiaHi,
Folow the blow example...
May be it helps....
DATA: hex1 TYPE string,
hex2 TYPE string.
hex1 = 'FFFF'.
hex2 = '123FF'.
IF hex1 CP hex2.
ENDIF.
Cheers,
SImha. -
How can I log BT device IDs names in a log file using Toshiba BT stack
Hi,
without Microsoft stack I can't use a lot of freeware programs (BluetoothView.exe, BluetoothCL.exe, BTScanner for Windows) to "catch" bluetooth devices in a log file.
How can I log bt device ids/description names in a log file using Toshiba Bluetooth stack?
Thank youI've just contacted Toshiba here:
http://aps2.toshiba-tro.de/bluetooth/?page=faq/sdk
There are other solutions for Windows XP or Toshiba SDK is the only one? -
How do I read in from a Lab-PC+ card using Visual Basic?
I have a Lab-PC+ card installed and hooked up to a number of pressure trasnducers etc. I want to read the data in using VB but I've heard that VB cannot interface to I/O without some extraq bits of software.
While your data acquisition programming in Visual Basic will be easier and faster with our Measurement Studio product, you are not restricted to using it. You can simply make calls into the NI-DAQ driver DLL. Take a look at the first Knowledge Base article I have linked below for information on installing NI-DAQ examples for VB. You will be interested in the second paragraph which describes how to install examples from the driver.
How Do I Install the DAQ Example Programs for VB and VC?
http://digital.ni.com/public.nsf/websearch/67B97D1BADB40A4186256C7500770847?OpenDocument
As for the API into the driver DLL, you will need the NI-DAQ Function Reference Manual, which I have also linked below.
NI-DAQ Function Reference Manual for PC Compati
bles
http://digital.ni.com/manuals.nsf/websearch/1630A0B68738B269862567C1007A2912?OpenDocument&node=132100_US
Regards,
Justin Britten
Applications Engineer
National Instruments -
How to read an APO table from excel in place using Visual Basic ?
We have enhanced some APO reports using layouts that use excel in place with custom visual basic (VB) code. For example, the VB code can append the data with additional columns that perform specific calculations and then proceed to create pivot table reports in excel..That is working fine.
The challenge is to see if that VB code could read specific APO tables (e.g. product master tables) to bring additional elements into excel and thus expand the report content. We know that additional fields can be added to the reports, but having the flexibility to read tables from VB could be more flexible.
Can that be done?. If so, would it be possible using exclusively the VB code attached to the layout, i.e. no ABAP?Hello Anselmo,
I am assuming you are doing this either using BeX analyzer or by reading the planning book using the RFC ActiveX component and a BAPI.
I think it's possible to retrieve the data from the product master table. Here are my thoughts on how can this be done:
1) You can create a generic datasource (transaction RSO2) for the product master table, connect that to a BW remotecube and use a BeX query to retrieve that values. You can then join the queries using VBA. Alternatively, you can build a muti-provider that connects your current InfoCube to the new RemoteCube and build a query from there. The multi-provider, in this case, joins the data (no more VBA).
2) If you have already loaded your product master data into master data carrying InfoObjects then you can try the same technique as #1 but this time there is no need to create the generic datasource. You can use the InfoObjects for your master data as the InfoProviders for your query.
3) You can try the ActiveX component from SAP which can connect to any emote enabled function in SAP system. SAP already provided some BAPIs (check transaction BAPI for a list) which might be able to provide the data. You can also create your own function modules (be sure to make it remote enabled) using ABAP. (transaction SE37).
Hope this helps
Maybe you are looking for
-
To Flash Bios or not???? MS-7345 PLATINUM
Hi, I use the MSI Live Update5. I am having issues with NOT RESPONDING and GHOSTING of the screen. I have a Nvidia Geforce 8600GT, DirectX11. I use Photoshop CS5, and Pinnacle Studio 15, but always get these Not responding error messages that drive
-
Capturing the frieght from service PO to Create cost shipping document
Dear friends, We have got the service agreement with the transporters for transporting materials to our company. I created a Service contract. Then i release the Purchase order against the Contarct for the distance he transported. And i do service en
-
Hi guru, my companies do the following operations for a vendor: 1) Invoice: Posting Key: 31 100 eur Posting key : 40 100 eur 2) DOcument: Posting Key: 24 2 eur Posting Key :50 2 eur Bef
-
Export Cuts Off (Incomplete)
Hi, I have some .caf files and I'm trying to convert to MP3. I did some search to self-educate, and I know .caf is same as aiff (just different extension). With that said, QuickTime can export both files and convert them to wave, au, or aiff. The pro
-
QT 7.5.5 AVI to MP4?
Hello I have converted a AVI to MP4 via QT and there's no sound at all after conversion and why is this? Do I just go back and use VH as usual or is there a way around this Thanks