How to used parameter in example program with visaul basic
i have some proplem about away to used parameter in visual basic example program for ex. As Status ,As ViSession because it can't complier
Jone –
Greetings from National Instruments! I hope you are finding your use of the Developer Exchange discussion forum advantageous. We really believe that this is a great resource for programmers to gather and work with each other, sharing tips and working together to answer questions.
I am not 100% sure about which specific Visual Basic you are inquiring. However, the NI-VISA User Manual contains many specific Visual Basic examples that I think would greatly help you in these programming pursuits. I would suggest that you take a look at this link (http://digital.ni.com/manuals.nsf/websearch/266526277DFF74F786256ADC0065C50C?OpenDocument&node=132100_US), specifically Appendix A. There you will find many examples, including specific declarations,
which I think is the point of your entry here.
I hope that this helps you out! Thanks again for your support of National Instruments and your use of the Developer Exchange!!
Best Regards,
Greg Wempe
Applications Engineer
Similar Messages
-
How to use Enhancement spot in program
Hi gurus,
now i am working ecc 6.0, so how to use Enhancement spot in program, can anybody explain step by step.
Rewarded with points.
Thanks
NaveenHi Naveen ,
Enhancement Spot are available.
Examples:
-End of Executable Program, Include, Function group, Dialog module
-Begin/End of Form routine / Function module / Method
-End of a structure
-End of Private/Protected/Public Section of a local class
If you want to create Implementation , You have to right click on yellow color line and gve Zxxx and save it in any
transport request under any dev class. Then you can write your own code and save it and activate it .
Later If you want to Transport it you need to transport this request.
Reqward if usefuil
Thanks
Jagadeesh.G -
In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
1. The report has the following group settings:
Parent Group: SalesTerritoryGroup
Child Group: SalesTerritoryCountry
Child Group: CalendarYear
Details: SalesAmount
2. Add three parameters in the report:
GroupExpand:
Available Values: “Specify values”
Label: Yes Value: Yes
Label: No Value: No
Default Values: “Specify values”
Value: Yes
CountryExpand:
Available Values: “Specify values”
Label: Yes Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
Label: No Value: No
Default Values: “Specify values”
Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
YearExpand:
Available Values: “Specify values”
Label: Yes
Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
Label: No Value: No
Default Values: “Specify values”
Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
=IIF(Parameters!GroupExpand.Value="Yes", False, True)
Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
=IIF(Parameters!CountryExpand.Value="Yes", False, True)
=IIF(Parameters!YearExpand.Value="Yes", False, True)
6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
=IIF(Parameters!GroupExpand.Value="Yes", True, False)
7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
=IIF(Parameters!CountryExpand.Value="Yes", True, False)
=IIF(Parameters!YearExpand.Value="Yes", True, False)
After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
Note:
In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
Applies to
Reporting Services 2008
Reporting Services 2008 R2
Reporting Services 2012In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
1. The report has the following group settings:
Parent Group: SalesTerritoryGroup
Child Group: SalesTerritoryCountry
Child Group: CalendarYear
Details: SalesAmount
2. Add three parameters in the report:
GroupExpand:
Available Values: “Specify values”
Label: Yes Value: Yes
Label: No Value: No
Default Values: “Specify values”
Value: Yes
CountryExpand:
Available Values: “Specify values”
Label: Yes Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
Label: No Value: No
Default Values: “Specify values”
Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
YearExpand:
Available Values: “Specify values”
Label: Yes
Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
Label: No Value: No
Default Values: “Specify values”
Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
=IIF(Parameters!GroupExpand.Value="Yes", False, True)
Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
=IIF(Parameters!CountryExpand.Value="Yes", False, True)
=IIF(Parameters!YearExpand.Value="Yes", False, True)
6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
=IIF(Parameters!GroupExpand.Value="Yes", True, False)
7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
=IIF(Parameters!CountryExpand.Value="Yes", True, False)
=IIF(Parameters!YearExpand.Value="Yes", True, False)
After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
Note:
In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
Applies to
Reporting Services 2008
Reporting Services 2008 R2
Reporting Services 2012 -
How to Install crystal run time programs with out designer.
Can anyone suggest me how to install crystal run time program with out installing entire designer software.
Is it coming along with CR software package, which we have to do custom install or is it coming as a different package.
Currently my client is using only the run time programs to trigger crystal report from VB app but developers have installed entire software for development. We need to figure out how this install can be done, as it was done long time before and folks who have done it left the company.
Any suggestion on this would be of great help to me.See this wiki:
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0
Ludek -
How to use FM SO_DOCUMENT_REPOSITORY_MANAGER send mail with CC.
Dear Experts:
Please help me. How to use FM SO_DOCUMENT_REPOSITORY_MANAGER send mail with CC.
My Program code is as follow:
*Send the mail.
tb_receipients-recnam = 'BAITZ'.
tb_receipients-recesc = 'B'.
tb_receipients-sndex = 'X'.
tb_receipients-att_fix ='X' .
APPEND tb_receipients.
CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
EXPORTING
method = wa_method1
office_user = wa_owner
ref_document = wa_ref_document
new_parent = wa_new_parent
IMPORTING
authority = wa_authority
TABLES
objcont = tb_objcnt
objhead = tb_objhead
objpara = tb_objpara
objparb = tb_objparb
recipients = tb_receipients
attachments = tb_attachments
references = tb_references
files = tb_files
CHANGING
document = wa_document
header_data = wa_header.
endform. " send_mail
By the why, tb_receipients-recnam = 'BAITZ'. What's the meaning of 'BAITZ'? Thanks!you can use FM SO_NEW_DOCUMENT_SEND_API1
WA_RECV TYPE SOMLRECI1,
IT_RECV TYPE STANDARD TABLE OF SOMLRECI1.
wa_recv-receiver = 'TO email address'.
wa_recv-rec_type = 'U'.
wa_recv-com_type = 'INT'.
APPEND wa_recv TO it_recv.
CLEAR wa_recv."To Recipient
wa_recv-receiver = 'CC email address'.
wa_recv-rec_type = 'U'.
wa_recv-com_type = 'INT'.
wa_recv-copy = 'X'.
APPEND wa_recv TO it_recv.
CLEAR wa_recv. "CC Recipient
wa_recv-receiver = 'BCC email address'.
wa_recv-rec_type = 'U'.
wa_recv-com_type = 'INT'.
wa_recv-blind_copy = 'X'.
APPEND wa_recv TO it_recv.
CLEAR wa_recv. "BCC Recipient -
Right now I use null modem cable, I can communicate 2 PCs use hyper-terminal. I wonder how to use ComponentWork CWSerial to program such kind of job? Thanks!
Hi Kevin,
Of course this will take a little work, but CWSerial should be able to handle this without too much hassle. Take a look at the example program usually included in C:\Program Files\National Instruments\MeasurementStudio\VB\Samples\Instr\Basic Serial
You should be able to use this example as a starting point.
Hope this helps out!!!
Best Regards,
Aaron Kobayashi
Application Engineer
National Instruments -
How to create tcode for modulepool program with selection screen?
hi,
How to create tcode for modulepool program with selection screen?
thanks,
sagarHi,
We need to goto SE80.
In our program we right click on object name and goto create
-> transaction. Enter the module pool program and screen number and save and activate.
Or by SE93 also we can create a transaction code for our program.
Hope ths helps.
plz reward if useful.
thanks,
dhanashri..
Edited by: Dhanashri Pawar on Jul 22, 2008 8:29 AM -
How can i run my java program with out java language
Hai to every one ..Iam new to java language ...am using windows xp operating system , i did not installed java language in my system .. how can i run a java program with out installing java language... Which files is requied to run java program..?
any one can help me??Hai to every one ..Iam new to java language ...am
using windows xp operating system , i did not
installed java language in my system .. how can i run
a java program with out installing java language...
you ... can ... not ... do ... this
Which files is requied to run java program..?
any one can help me??a JVM. Download it from sun's website.
[url http://java.sun.com/javase/downloads/index.jsp]Download JavaSE here -
How to use the same OC4j server with different port number
How to use the same OC4j server with different port numbers..?
I have to OC4J installed on my machine on different hard disk drives....
I want to be able to run both the server simultaneously..?
is it possible ..it yes then how..?
for that i have changed the port number of one server...
but when i am trying to start the other server with different port number..it says that JVM -Bind already...
Is there any clues...?
Nilesh GIn the config directory:
default-web-site.xml: Change the port the HTTP listener listens on
jms.xml: Change the port the JMS service listens on
rmi.xml: Change the port the ORMI listener listens on.
Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
Rob
Oracle -
How to use "Notes" on my iPad with my existing iCloud address?
How to use "Notes" on my iPad with my existing iCloud address? It asks me to create a new one...
Did I overlook some critical info here? I'm having the same problem described by Henry5, but I'm signed in to iCloud with my AppleID which is not the same as my Mobile Me/iCloud email. I keep being asked to create an account (which it won't allow me to do since the account already exists) but no where do I see an option to use the existing account. I also tried logging out with my AppleID account, and using the iCloud email, but that doesn't work.
I just want to sync my notes and mail... this is really irritating! -
How to use the eventing and databag with a WAS 6.20 ?
How to use the eventing and databag with a WAS 6.20 ?
Is what there is a good guide for these services?
Thank'sIn the raise event you can pass the value
like below.
<SCRIPT>
function raiseEvt(value1){
if(window.document.domain == window.location.hostname){
if ( document.domain.indexOf(".") > 0 ) document.domain = document.domain.substr(document.domain.indexOf(".")+1);
EPCMPROXY.raiseEvent( "urn:com.sap:BWEvents","BWiViewevent", value1, null );
// alert('tree domain'+document.domain);
</SCRIPT>
and in the
subscribe event you can get the values like below.
<script language="javascript">
if(window.document.domain == window.location.hostname){
document.domain = document.domain.substring(document.domain.indexOf('.')+1);
EPCMPROXY.subscribeEvent("urn:com.sap:BWEvents","BWiViewevent", window, "myreceiveEvent");
function myreceiveEvent( eventObj ) {
document.forms[0].gp_hidden.value = eventObj.dataObject;
</script>
Also look at the following link for a complete documentation.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/Enterprise%20Portal%20Client.pdf
Regards
Raja -
How to use warn about changes property with page menus
how to use warn about changes property with page menus
Hi,
If u will enable this property, then u will get warning message as a popup in case of change of state of VO.
Regards,,
Gyan -
How to use upload condition record program RV14BTCI
Hi
how to use upload condition record program RV14BTCI.
kathir.Hi,
To run this program we have to maintain Upload file in Application Directory,
We have to maintain 3 levels of records in that file.. my feel you upload through BDC or LSMW.
For your information,
The batch input program RV14BTCI reads the parameters is necessary
Giving sequential file and creates (depending on the data
In the file seq) one or more batch input sessions.
The data are seq file in the following structure expected:
- The session a session intent (Table KOBTCI, Record 0)
All other records until the next session, the intent
Last session assigned to read
- The head condition Sentence (Table KOBTCI, record 1)
All other records until the next condition,
Last read head appropriate rate
This includes the corresponding condition
Condition table
- The key sentence of a Main (Table KOBTCI, record 2)
It must be directly on the head set to follow
It contains the key condition of the table
+ Detail fields
- The season record has a subordinate clause (Table KOBTCI, record 3)
The teams relate to the key sentence in the main
Best Regards,
KSK -
ANyone know how to use an Apple keyboard A1359 with a MacBook Air?
Does anyone know how to use an Apple Keyboard A1359 with a MacBook Air?
I'm going to ask the hosts to move this to the macbook forum since you're more likely to get answers there than in the iPad one.
-
HT4623 How to use epson iprint after connected with iPad help
How to use epson iprint after connected with iPad help.
When you open Epson iPrint, you will see the various options of ways to proceed, e.g., Photos (to print photos), Maintenance (for printer maintenance). Scan (to perform scanning).
Maybe you are looking for
-
Hi how to put check box in REUSE_ALV_HIERSEQ_LIST_DISPLAY
hi i have a header table ITAB_HEADER : LFSNR FIELD2 FIELD3 FIELD4 i need to put a checkbox on the header record please advise what step to do and where to put that checkbox i read some example but i don't understand how it is done please urgent help
-
I need some help figuring out why the link to my Mp4 movies are not working. I created my website in Dreamweaver on a mac. On the video page I have direct link to several Mp4 movies which are located is the dame folder as the website is on a remote s
-
HT204088 How to cancel my auto-renewal or manage my subscriptions
Hi There, How to cancel my auto-renewal or manage my subscriptions?
-
Can we specify which fonts load in which applications
Can't believe I never looked into this since the pre-X days. Is there a simple way to have particular fonts (or collections) load only in specific applications? As a basic example - I want all my fonts to load in Photoshop, but only web fonts in Drea
-
Why does diadem intellisense not work when using scriptinclude or for global object
I have a script with a different classes in it (scripted 1). When I create an object of a class in the script 1 intellisense works. Intellisense is when you type name of the object created from a class it shows all the possible variables and functi