SGL -- I32

Hi all,
Just got a short question,
I got a 1024x13 matrix. All the digits are now in SGL. But before i can plot them in a Intensity graphic i'll have to convert them to I32. How do i convert that huge matrix in I32? Or is there a other way to put a standard array in a intensity graphic without deleting data?
the file that i'm opening when i start my VI can't be posted right here, but i made a picture of the storage of the data. I hope that someone can help me with this!
with kind regards,
MrHond
Attachments:
vb.JPG ‏36 KB

I'm not sure why you want to convert the SGL to I32 since you can wire the SGL array directly to the graph, but if you want to do the conversion, just use the To Long Integer function on the Numeric>Conversion palette.
Message Edited by Dennis Knutson on 04-11-2006 10:26 AM
Attachments:
Intensity Graph.JPG ‏5 KB

Similar Messages

  • Difference between a I8 I16 I32 Zero

    I can only suggest but does it make a difference if I am using a i8-constant (e.g. 1,2,3,...255) as a DBL. For example does LabView adapt constants which are i8 and represented as i16,sgl or dbl for saving memory?
    The most trivial example is the zero. Is a i8 zero = i16 zero = dbl zero = sgl zero =....a.s.o.
    It is a simple question but confusing me So thx for help.

    There is no functional problem with overclassifying your datatypes. If you only NEED the precision of I8, but you are using a DBL, the function will be the same (assuming you don't use floating points).
    The drawback to using a classification that is more precise than necessary is memory usage, of course. The difference is slight, but in large programs the accumulated waste of memory can be significant.
    Labview assigns I32's and DBL's to almost anything automatically generated. Labview is just plunking in the value so the your app will be as versatile as possible. It will be up to the programmer to reduce the precision wherever feasible.
    The book of proper technique will teach you that you should use the lowest level of precision required for each variable, if for no other reason- to save memory.
    And yes, a zero is a always a zero, regardless of precision.
    Message Edited by RWiersma on 11-13-2006 11:35 AM

  • How to get I32 enum text out of a control (i/p terminal config, active edge of DAQmx vis)

    Hi,
     I am using DAQmx VIs create channel.vi and sample clock.vi, they have inputs (input terminal configuration) and (active edge) both are I32 and have enum looking drop down options. i want to use those text values to put into my excel file, but they give out numeric codes related to respective option. is it possible to get the text as it is.
    it is not an enum but I32 which looks like enum..
    plz help..
    Thanks
    Solved!
    Go to Solution.

    Note: This assumes that you have an actual control on the VI. If you have a
    block diagram constant, then that won't actually work. In this case to get the actual text you need to pick from list of text items. To further complicate things, the actual values that are generated are not sequential. You can use either a case structure or a 2-step lookup.
    Attachments:
    Example_VI.png ‏7 KB

  • Transfer Vendor Balance to SGL

    Dear All
    I have a Vendor with Credit Balance of 100,000. Can I transfer 20,000 to SGL Account. So that his account is showing 80,000 as credit and 20,000 is shown in the SGL Account. What is the process/t-code?
    Please advice.
    Thanks & Regards
    Kanwaljit
    Edited by: Kanwaljitsap on Dec 21, 2009 11:06 AM

    Dear Kanwaljitsap,
    You can use T.code : F-42 - Without Clearing
    Posting Keys : 39/29 with Special GL 34/24 Normal G/L transpfer Postings.
    39  A Vendor Account 20000/-
    24 -   Vendor Account 20000/-
    Hope clear.
    Regards,
    KK

  • Problem using the Write to SGL VI and Read from SGL VI

    Hello Sir, I have a problem using the Write to SGL VI. When I am trying to write the captured data using DAQ board to a SGL file, I am unable to store the data as desired. There might be some problem with the VI which I am using to write the data to SGL file. I am not able to figure out the minor problem I am facing. I am attaching a zip file which contains five files.
    1) Acquire_Current_Binary_Exp.vi -> This is the VI which I used to store my data using Write to SGL file.
    2) Retrive_BINARY_Data.vi -> This is the VI which I used to Read from SGL file and plot it
    3) Binary_Capture -> This is the captured data using (1) which can be plotted using (2) and what I observed is the plot is different and also the time scare is not as expected.
    4) Unexpected_Graph.png is the unexpected graph when I am using Write to SGL and Read from SGL to store and retrieve the data.
    5) Expected_Graph.png -> This is the expected data format I supposed to get. I have obtained this plot when I have used write to LVM and read from LVM file to store and retrieve the data.
    I tried a lot modifying the sub VI’s but it doesn’t work for me. What I think is I am doing some mistake while I am writing the data to SGL and Reading the data from SGL. Also, I don’t know the reason why my graph is not like (5) rather I am getting something like its in (4). Its totally different. You can also observe the difference between the time scale of (4) and (5).
    Have a Good Day
    Regards,
    Krishna
    Attachments:
    LABVIEW_Files.zip ‏552 KB

    As already discussed a while ago, your binary data does not contain timing information. You need to tell it the scan rate so it can reconstruct the time axis correcty.
    From the data, it seems the sample file was recorded at 0.5MHz. Take the inverse and set the time increment. Voila!
    Your sample file is two column data with one colum all zero. You need to set the number of columns to two, to only get the good data in channel 1.
    Your acquisition program contains unecessary FOR loops, you can remove the inner loops without change in result.
    It makes no sense to convert to SGL if you initialize the shift registers with an empty DBL array. You need to initialize with an empty SGL array.
    (The code could be simplified quite a bit more, but this should give you some directions).
    The attached zip shows some ideas (LabVIEW 7.1).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    LabVIEW_FilesMOD.zip ‏195 KB

  • How do I control read start position in a very large file where start byte position may be larger than I32 (+/- 2^31)?

    Using LabView, I am trying to read a very large file which may be on the order of 2^32 bytes. I need to be able to step into the file at a byte position which may be greater than the I32 limit set by the read file.vi. Are there any options to the read file.vi or a method of circumventing this limitation?

    I'm not sure but i think that you can manage the "pos mode" in the "seek" sub-vi.
    The "pos mode" let you choose the initial position to add the numbers of bytes you want to move.
    I think that you can add a i32 number from the "initial" in the "pos mode" an latter use the "pos mode" in "current" to add another value. Then the next time you can move more than 2^31 bytes to the initial position.
    I hope you understand my idea, i wasn't try it before, but i think that would work.

  • Writing the file using Write to SGL and reading the data using Read from SGL

    Hello Sir, I have a problem using the Write to SGL VI. When I am trying to write the captured data using DAQ board to a SGL file, I am unable to store the data as desired. There might be some problem with the VI which I am using to write the data to SGL file. I am not able to figure out the minor problem I am facing.  I am attaching a zip file which contains five files.
    1)      Acquire_Current_Binary_Exp.vi -> This is the VI which I used to store my data using Write to SGL file.
    2)      Retrive_BINARY_Data.vi -> This is the VI which I used to Read from SGL file and plot it
    3)      Binary_Capture -> This is the captured data using (1) which can be plotted using (2) and what I observed is the plot is different and also the time scare is not as expected.
    4)      Unexpected_Graph.png is the unexpected graph when I am using Write to SGL and Read from SGL to store and retrieve the data.
    5)      Expected_Graph.png -> This is the expected data format I supposed to get. I have obtained this plot when I have used write to LVM and read from LVM file to store and retrieve the data.
    I tried a lot modifying the sub VI’s but it doesn’t work for me. What I think is I am doing some mistake while I am writing the data to SGL and Reading the data from SGL. Also, I don’t know the reason why my graph is not like (5) rather I am getting something like its in (4). Its totally different. You can also observe the difference between the time scale of (4) and (5).
    Attachments:
    Krishna_Files.zip ‏552 KB

    The binary data file has no time axis information, it is pure y data. Only the LVM file contains information about t(0) and dt. Since you throw away this information before saving to the binary file, it cannot be retrieved.
    Did you try wiring a 2 as suggested?
    (see also http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=925 )
    Message Edited by altenbach on 07-29-2005 11:35 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Retrive_BINARY_DataMOD2.vi ‏1982 KB

  • Consideration of SGL payments in APP

    I have paid an advance through SGL A.  And i have invoices for the same vendor.
    While executing APP it has not considered the SGL A document 
    System should consider in APP the net amount (Invoice-SGL Payment)
    What is the procedure to consider SGL transactions in APP

    Hi,
    If you have to make the payment from APP, you will hae to create the Downpayment request. If you have directly created the Downpayment by F-48, the same will not be considered in APP as in F-48 you are creating the Payment only.
    Hope this clarifies your point.
    Regards,
    Amit

  • FB60 , SGL Indicator

    Dear All,
    IN Tcode FB60 , If i enter Special G/L Indicator as 'T' ( i.e Travel Advance of Employee ),
    System gives error message ,
    Special G/L transactions of type A are not supported,   Message no. F5246
    But if i enter same entry by Tcode F-43 with Special G/L indicator 'T' , system is not giving any message and can completed entry successfully.
    Why system not accepting SGL Indicator 'T' in FB60. What to do If i want SGL Indicator 'T' in FB60,
    Is ther any Configuration changes required for SGL Indicator 'T' in FB60.
    Pl suggest me a solution.
    Regards
    Swati

    Hi Swati,
    There is restriction of using down payment special GL indicator from being used here and it calls for configuration changes if you want to use it.
    Proceed as describe below.
    1. Use transaction FBKP
    2. Go into the Special GL Indicator T
    3. Go into its Proporties.
    4. Select Others from Down Payment/Down Payment Request
    Regards,
    Chintan Joshi

  • Missing Standards from CDM SGL V6

    I have been reviewing the CDM SGL Volume 4 document and I have found a number of missing standards that I would like explained or resolved please.
    OMS-30862 was replaced by OMS-30830 but I can't find a reference for this either in the current standards or as having been removed?
    OMS-45021 & OMS-45022 was replaced by OMS-61557 but I can't find a reference for this either in the current standards or as having been removed?
    Can anyone from Oracle Help? Has anyone found anymore?
    Is this the correct forum for CDM questions?
    Mark

    I can only find the reference from OMS-45021 & OMS-45022 to OMS-61557 and not the other way around, if that is what you mean.
    OMS-45021:
    Name a database trigger using the convention [application code]_[table alias]_(B/A)(R/S)
    Reason
    Included in new std. OMS-61557
    OMS-45022:
    Extend the trigger name with I, U, or D if the trigger is specified specially on Insert, Update, or Delete.
    Reason
    Included in new std. OMS-61557
    One might have expected OMS-61557 to be mentioned as a new standard. I can't find out anymore why it's not, but one reason might be that it was added in a previous release of CDM, from which we forgot to remove OMS-45021 & OMS-45022.
    Jan Kettenis

  • Data conversion from I32 to U8

    Hello,
    I have Data in I-32 ( 1D-Array 32 Bit)  and I want to convert it into U8 ( 1D-Array 8 Byte) how I can doing that with Labview? 
    BR

    Hello, I have Lin Communication with RS232. At first I have Data with RS232-Write sent data [85.,125,23,2,39,5,255,255,255,255,186] so the Input ist a string in ASCII- Form. Data to send is 8 bit Integer so I convert the data at firt to I-32 then I use Convert number to Hexdecimal string.
    With RS232 I try to get the answer, But the output string[553c17022705FFFF] so I try to to make from this string an Array [55,3C,17,02,27,05,FF,FF] and then I convert it with Hexdecimal string convert to Number in I32, then to U8 because, with data to rec and massage fram is in U8.
    My problem is: to get the Data rec I have to use the Array-Subset where is the the array is the massage frame and the index is the message size from Data to send  + 1 = 12 .
    My resut in data rec is array with only the first value[55,3C,0,0,0,0,...] and the other value is zero.
    So i don´t know wher ist the error? Can you help me
    The result in the Frontpanel is:
    Message_Frame: 55,7d,BA,55,7D,55,FF,FF,0,0,0
    Data_rec is: 55,7D,0,0,0,0,0,0,0,0,
    I think I have problem with convert but i can not see the erorr

  • Write string (7 chars), int16, sgl into binary file and read it in C

    How to write write string (7 chars), int16, sgl, string (5 chars) into binary file and then read it in C ?
    Total 18 Bytes file (binary) should be created.

    Hi,
    this could be done that way:
    You have to make sure the strings have their correct length!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Problem typecasting 2D SGL array

    Hi,
    I'm experimenting with my code and encountered a problem in typecasting a 2D SGL array:
    What's wrong in here? Type of wire source and sink is same "2-D array of single"...
    Btw. this is LV8.6.1.
    One more comment: putting a FOR loop around the problematic "typecast" solves the problem - but the vi should also work without a FOR loop...
    Message Edited by GerdW on 07-22-2009 02:58 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Solved!
    Go to Solution.

    Use "flatten to string" instead. It works just fine. (set "prepend ... size" to FALSE to get the desired functionality).
    Typecasting multidimensional arrays is a bit dangerous, because the reverse operation cannot work. Typecasting a string to a 2D array is ambiguous (e.g. a string with 12 elements could be a 1x12, 2x6, 3x4, 4x3, 6x2, or 12x1 2D array). Typecasting a 2D array is thus forbidden, probably because the operation cannot be reversed with another typecast and a 2D array as type.
    Message Edited by altenbach on 07-22-2009 09:41 AM
    LabVIEW Champion . Do more with less code and in less time .

  • X-series DMA -- single chunky link for finite SGL -- possible?

    ok, i guess i stumped you guys on the previous question regarding aout fifo width.  here is another one.
    can i have a ChInCh SGL program that has a single chunky link, with the done flag set?  
    i compose the SGL myself (not using the DDK chunky link classes).   I have LinkChainRing and ReuseLinkRing SGL working fine.  However, if I want to run a finite SGL with one chunky link, I hang in tCHInChDMAChannelController::start waiting for the link ready bit.
    so there appears to be an issue with starting a finite DMA SGL on a chunky link that has the Done bit set -- is that right?  Is there a way around this?
    thanks,
    --spg
    scott gillespie
    applied brain, inc.
    Solved!
    Go to Solution.

    Steven T --
    Ok, thanks for verifying that.
    >> Is there a reason why you must use one page descriptor in the chunky link?
    Not necessarily, however since I am constructing my own SGL's, I do need to know exactly what I can and can't do.  So when I see behavior like this, I first want to understand if I am doing something wrong, then determine a workaround if it is a hardware limitation.
    As I am writing a driver that supports several different clients, I need to provide a generalized interface that can handle any request.  For example, I need to know that if one of my clients requests a single byte transfer, the driver has to fail gracefully (or implement the request without using DMA), and not hang :-)
    Having you verify this limitation (if it is that) is extremely useful to me, since I can now deploy the workaround (add an extra transfer for any single link chunky, use a direct write or FIFO preload for any single byte transfer) and not continue to wonder if I have missed some other essential register setting or flag.
    Thanks again, and if you do find out anything more, let me know.
    cheers,
    spg
    scott gillespie
    applied brain, inc.

  • How can I change a dynamic data into an integer representation I32?

    The result of formula box is a dynamic data. I need to change the representation into an integer representation I32. How can I do this?

    The I32 conversion icon is in Functions Palette -> Numeric -> Conversion -> To Long Integer. Wire the formula output to the I32 input. The output will be of I32 type.
    - tbob
    Inventor of the WORM Global

Maybe you are looking for

  • Create a Bex report based on the client requirement

    Hi Experts We are using 3.5 version SAP BW. Our Client requirement is to create a report. as below CC01 Qty Ltr Ripple xxxxx.xx CC01 Qty Ltr Ripple xxxxx.xx CC01 Qty Ltr Ripple xxxxx.xx CC01 Profit Value Ripple xxxxx.xx CC01 Profit Value Ripple xxxxx

  • How to set  the Common Pov in Web Analysis

    Dear All, Can any one tell me how to set the common Pov for two diffrent reports underon data source in the Web analysis.

  • Acrobat PDF Maker freezes at 90% done when converting from Word

    ...and here's the weird thing. When I cancel, the PDF appears on my desktop, named "Microsoft Word - (filename).doc.pdf'. It was working fine up until a few hours ago, exporting the PDF in a few seconds, to the same file path, and with the same name,

  • Function modules for User check and Product search

    Hi, Please give me the names of function module which are used for user login check, and Product search. Thanks, Devender V

  • External Disk Problems - Serious

    Dear Apple, 10.4.3, eMac latest, 512MB. external USB2 drive, freshly formatted, extended non-journaled Problem. Doing anything with the disk Finder-wise (like getting info on large folder) while copying something large (32Gb folder) to the external d