Any example to use TransposeData()

Hi,
I want to use TransposeData() to transpose my 2D array of type char.
char temp[100][100];
 for(x = 0; x <= row; x ++)
  for(y = 0; y <=col; y ++)    
   temp[x][y]= data[x][y];
 TransposeData  (temp,1, row*col, col);
I am getting row, col, data from other function.TransposeData() is not actually transposing my data and I am also not getting any error for this. I am suspecting the 2nd parameter 'dataType', I am not sure what to give for 'char' data type.I just tried with 1.
Can anyone guide me in this...
Thanks,
Haari

Hello Haari -
I'm not sure if you've found the answer to this or not, but you should pass VAL_CHAR for the second parameter.  Once you've done that, your code should work as you expect.
Just FYI - when in CVI, you can display the function prototype by pressing ctrl+shift+space when editing.  This will bring up a tooltip showing the prototype:
Once you've done that, you can navigate to the parameter you're interested in and get additional help.  If the parameter has a little box with a '...' next to it, you can select the button or press ctrl+shift+enter to bring up a helpful dialog or list:
NickB
National Instruments

Similar Messages

  • Any Examples of using ActiveCollectionModelDecorator with POJO data control

    Are there any Examples of using ActiveCollectionModelDecorator with POJO data control in any of the sample packs?

    OK, here's an quick example. Create a new Windows Forms application and add a ScatterGraph and a Label to the form. Add a cursor to the ScatterGraph, then add the code below to the form. This generates 50 random data points when the form is loaded and plots them, then uses the cursor's AfterMove event to display the current X and Y positions in the label. Here's the code:
    Private Sub OnFormLoad(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Const dataLength As Integer = 50
    Dim xData(dataLength - 1) As Double
    Dim yData(dataLength - 1) As Double
    Dim rnd As Random = New Random
    For i As Integer = 0 To dataLength - 1
    xData(i) = i
    yData(i) = rnd.NextDouble() * 10
    Next
    ScatterGraph1.PlotXY(xData, yData)
    End Sub
    Private Sub OnAfterMoveXYCursor(ByVal sender As Object, ByVal e As NationalInstruments.UI.AfterMoveXYCursorEventArgs) Handles XyCursor1.AfterMove
    Label1.Text = String.Format("({0}, {1})", e.XPosition, e.YPosition)
    End Sub
    Hope this helps.
    - Elton

  • There's any example of using the gateway plugin functionality?

    Hello again!!! xD
    There's any example of using the gateway plugin functionality?

    To put your custom media element loaded from a plugin on the stage, you can use a MediaContainer object:
    var adContainer:MediaContainer;
    adContainer.width = 468;
    adContainer.height = 60;
    adContainer.addMediaElement(adElement);
    addChild(adContainer); // assuming we're on a Sprite.
    The video element can be in its own container:
    var videoContainer:MediaContainer;
    videoContainer.width = 468;
    videoContainer.height = 60;
    videoContainer.addMediaElement(videoElement);
    addChild(videoContainer);
    Regardless of wheter or not the adElement and videoElement are in a parallel element together, each indiviual view will appear in the assigned container.
    Does that anwer your question?
    Cheers,
    Edwin

  • Any examples of using XSU for multi level nesting

    Are there any examples of inserting into a set of object tables using the XSU where the parent-child relationship is more than 2 levels deep. i.e where you have to use REF's or views to do this.
    I have had no problems with a 2 level insert using object tables but that's not much use to me.
    I know that natively only 2 levels of nesting are supported.
    I may have to resort to parsing the data manually using the PL/SQL parser if I can't get the XSU to do it.
    null

    lAnubisl wrote:
    My customer's solution has several issues generating PDF files and we are looking at the Acrobat SDK as at the instance of the final truth.
    I use Interop.Acrobat.dll as a .NET project reference to open and resave PDF documents. I'd like to do all things I mentioned above.
    After years and years, I have concluded that if you do serious PDF development, you need a set of libraries. For instance, if you are doing typesetting type of work ("vertical center", "horizontal center", "margin", etc., etc) , there is an excellent library from a guy in Germany (land of Johannes Gutenberg and printing presses)...
    ... which turned out to be useless in my next project which dealt with AcroForms.
    I know exactly what you mean by "the final truth", sometimes I wish Adobe had some sort of official validating tool (like XML does).
    Per your comments, I would recommend you to consider this library. It is available in all languages and its output is the same quality as Adobe's or at least in the same league:
           http://www.pdftron.com/pdfnet/index.html
    If you want to comment further, we must go to a different forum, since we are not supposed to discuss any non-Adobe products here.

  • Any example for using LDAP for WLS7.0

    Is there any example I can follow to setup a LDAP as the default security realm
    for wls7.0 ?

    Hello Friend,
    The detailed instructions for setting up an external LDAP
    provider for WLS 7.0 can be found at the following link.
    http://e-docs.bea.com/wls/docs70/secmanage/realm.html#1172008
    I hope that helps.
    Regards,
    Tom Hegadorn
    Developer Relations Engineer
    BEA Support
    "Friend" <[email protected]> wrote:
    >
    Is there any example I can follow to setup a LDAP as the default security
    realm
    for wls7.0 ?

  • Any examples of using OVS in interactive forms?

    Hi All,
    I'm trying to use OVS input help in Adobe forms (which was suggested by OSS support as a workaround to another issue) and I see there some people in this forum asking similar questions but I don't see an answer posted in any of the threads.
    When I import the SDN tutorial example for OVS "WebDynpro_OVS_Valuehelp" and I add an interactive form to it and implement a call to the OVS, nothing appears to happen.
    Note that the way I implemented it (and the way OSS suggests) is to use the "value help button" from the native pallet and the and then change the Javascript by filling in the field name in this section of code:  var fieldName = "*INSERT_NAME_HERE*";
    So my question is, can somebody point me to a sample project that I can download and import to show me OVS working in Adobe?
    Many thanks,
    -Tom

    Hi All,
    I'm trying to use OVS input help in Adobe forms (which was suggested by OSS support as a workaround to another issue) and I see there some people in this forum asking similar questions but I don't see an answer posted in any of the threads.
    When I import the SDN tutorial example for OVS "WebDynpro_OVS_Valuehelp" and I add an interactive form to it and implement a call to the OVS, nothing appears to happen.
    Note that the way I implemented it (and the way OSS suggests) is to use the "value help button" from the native pallet and the and then change the Javascript by filling in the field name in this section of code:  var fieldName = "*INSERT_NAME_HERE*";
    So my question is, can somebody point me to a sample project that I can download and import to show me OVS working in Adobe?
    Many thanks,
    -Tom

  • Any example code using Generic IVI Scope driver to get an External Trigger from a Scope?

    I'm using a LeCroy WavePro 950.

    I have done that using a "waverunner" if memory serves me correctly.
    Did you check out the driver available for download from this site?
    http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/bd22a2bf3d4a5503862569a7007778d7?OpenDocument
    I first had to figure out how to get the scope trigger manually. Once I had that figured, I was able to adapt the example to do the triggering.
    Hope this helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Are there any examples for using a CAN card via XNET on a real time system?

    I am programming a real time application and I have a PXI 8512 card.  My first order of business is to get 5-byte messages from transducers that are broadcasting at 10 Hz on known message IDs.  There are no CAN/XNET samples in my "realtime" CVI sample folder.  I have found some in the nixnet folder but they are Windows based so I have to hack a lot of stuff out of them.
    Thank you.
    Michael Chadwell
    Department of Engine and Vehicle R&D
    Southwest Research Institute

    In other words, I just need to do something very similar to this with no user interface:
    NOTE: See attachment
    Michael Chadwell
    Department of Engine and Vehicle R&D
    Southwest Research Institute
    Attachments:
    CAN Bus Monitor.jpg ‏83 KB

  • Any example for ENQUEUE_ARRAY for JMS compatible messages?

    Is there any examples of using ENQUEUE_ARRAY with messages that are compatible with JMS? either a VARRAY or NESTED TABLE of JMS content?
    I have an after insert trigger that propagates to JMS and in the for each row loop I'd much rather enqueue as a batch than for each individual message.
    It's hard enough getting JMS compatible content working where you are enqueuing just a single message but just what's involved to get this working with batches of JMS compatible messages?

    Hi prajithparan,
    Thanks for the response. I already looked at the link and a few other links in this forum that are related to array inserts/updates. However, I could not find answers to my specific questions. I am specifically concerned with the setup of parameters to the API calls (OCIBindByName and OCIBindArrayOfStruct) that fully reflects the two-dimensional nature of the array of structs that I am trying to insert.
    Moreover, I need to set the data type of the columns to be inserted as SQLT_STR. I think this data type requires the programmer to supply the length of the null terminated C strings as well. If we are inserting just one column, we can provide the length of each of the strings to be inserted into a VARCHAR2 column as part of a OCIBind call, for each of those columns.
    Since in an array insert, we are supplying multiple rows at the same time, how do we supply the lengths of strings to be inserted ? Should it be some form of two-dimensional array ?
    I could not get clear answers to these questions from either the Oracle documentation or the links on this forum. May be the answers are there and I am just missing them ?

  • Examples of use of 0RT_CMPLOC - Comparable locations

    Hi
    Does anyone have any example of use of 0RT_CMPLOC ???
    I need to load it as a navigational attribute of 0PLANT and then use it as filter in some queries.
    I would like to be sure that I understood correctly how to use it, although I didn't find any document.
    Thanks in advance.
    César Menezes

    Re-entered all the variables and it worked fine.... weird.....

  • Any examples of a data template using multiple data sources?

    I'm looking for an example report using multiple data sources. I've seen one where they do a master/detail but I'm just looking to combine results in sorted order (sorted across all data sources). The master/detail used a bind variable to link the two defined queries, I'm thinking what I want won't have that, so I'm lost on how to make that happen. I have reports using multiple sql queries and there is a way in the data source pulldown to tell it to combine the data sources. It appears to be a more manual process with data templates, if it's even possible.
    Any pointers/links would be appreciated.
    Gaff

    Hi Vetsrini :
    That's just it. Mine is simpler than that. There is no master/detail relationship between the two queries. I have the same exact query that I run in two databases and I want to merge the results (ordered, by, say eventTime) in one report. So I think my results are going to be two separate groups (one for each data source) which I'll have to let BI merge vis XSLT or whatever it uses. That's fine for small result sets but for larger ones, it would be nice if the database did the sorting/merging.
    Gaff

  • Req any examples of how to use a USB midi controller​/keyboards with Labview TIA

    Req any examples of how to use a USB midi controller/keyboards with Labview TIA

    Hi,
    To access the MIDI ports you will need to call the Windows SDK. To send MIDI commands is relatively easy, here is an example that shows you how to send data to a MIDI controller or keyboard.
    As far as input goes, this is the hard part. There are a series of functions that you need to call to open up the device, set some buffers and and possibly a callback to get notifications on the incoming data.
    Reading MIDI data will not be an easy task, your best bet will be to implement this in a DLL and call that DLL in LabVIEW, there should be some code available o the web.
    = "http://msdn.microsoft.com/library/default.asp?url​=/library/en-us/multimed/htm/_win32_multimedia_... is a link to the Windows multimedia functions that you could use for MIDI input.
    Let me know if you have any further questions.
    Regards,
    Juan Carlos
    N.I.

  • Req any examples of high to use midi controller/keyboards with Labview TIA

    Req any examples of high to use midi controller/keyboards with Labview TIA

    [email protected];
    Check the following:
    Communicating with a Windows MIDI Device in LabVIEW
    Regards;
    Enrique
    www.vartortech.com

  • Oracle ADF RichSelenium class - any examples on how to use this?

    Digging around the net and found that there is a class for Selenium testing ADF Rich components, namely oracle.adf.view.rich.automation.selenium.RichSelenium located in oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-automation-11.jar.
    I've been searching for half a day now and cannot find any example code on how to use RichSelenium class for the life of me.
    There are examples of using Selenium with ADF (http://www.oracle.com/technetwork/articles/adf/part6-094560.html) but not using RichSelenium.
    Any lead or information would be highly appreciated, thanks in advance.

    OK figured out how to start using this RichSelenium class and thought I'd post my findings on this thread for the sake of anyone else who wants to know. Here's my code:
    -- START OF CODE
    package my.richselenium.test;
    import java.util.concurrent.TimeUnit;
    import org.junit.After;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.WebDriverCommandProcessor;
    import org.openqa.selenium.firefox.FirefoxDriver;
    * Base test class for handling common functionality across tests - setting up web driver, retrieving URL and cleaning
    * up and resources.
    public class myTest {
    public void runTest() {
    // Create WebDriver
    WebDriver myWebDriver = new FirefoxDriver();
    // Setup Web Driver Command Processor
    WebDriverCommandProcessor wdcp = new WebDriverCommandProcessor("http://www.google.com", this.driver);
    // Instantiate RichSelenium class object
    RichSelenium rs = new RichSelenium(wdcp);
    // Load specific URL
    rs.open("http://www.oracle.com");
    // Let's do some RichSelenium specific processing
    String [] someArray = rs.getAllFields();
    List<String> someList = Arrays.asList(someArray);
    // for loop advance
    for (String temp : someList ) {
    System.out.println(temp);
    rs.close();
    -- END OF CODE
    -----------------------------------------------------------------------------------------------------------------------------------------

  • Any PL/SQL examples of using ICX?

    I am trying to include some static HTML into a web page that's
    generated in PL/SQL. The documentation has led me to the ICX
    module (to connect through to the LiveHTML agent) but its
    examples are in PERL which I don't know in any
    depth. I would be very grateful to anyone who can supply a
    simple example of using ICX in PL/SQL.
    Regards,
    Anthony.

    As far as I know, Artificial Intelligence has not yet been achieved, although if someone's written a PL/SQL package that can beat Gary Kasparov at chess I'd like to see it.
    My wife thought the movie was called "A One".

Maybe you are looking for

  • Flip4mac/quicktime causes sleep problems

    I installed Flip4mac and when i try to watch YouTube the computer spontaneously goes to sleep. I uninstalled and it stopped, but it's caused me so much grief in the past that it started happening when i used quicktime among other things and i had to

  • H77MA-G43 BLUE SCREEN in XP Pro

    Today I did build a computer to a customer, I used H77MA-G43 and Intel Core i3 2100 3,1Ghz, 4Gb corsair 1333Mhz memory. When trying to install XP Professional on the new WD Blue-500G-drive I recieve bluescreen of death before the installation starts

  • Should I use premiere elements for editing 24p DSLR footage?

    Have been shooting with a t4i in 24p and am doing some small business videos - I need some advice on whether I should use premiere elements to edit this footage.  Also need to be able drawing lines, add arrows and animate them etc.  Is this beyond pr

  • TCP buffer

    I have a question about reading data from the Socket's InputStream If I want to, for example, read an int in, can I do something like the following? InputStream in = socket.getInputStream(); final byte[] integer = new byte[4]; if(in.read(integer))==-

  • Toshiba-Satellite Laptop Model C655-55225 stopped working after 90 days

    I purchased a Toshiba - Satellite Laptop on 9/30/2011, it completely stopped working on 1/5/12. The laptop was not even used until 12/25/11, as it was a Christmas present for my husband.  I called Customer Service at Best Buy because Toshiba Customer