WAVEFORM MEASURING INSTRUMENT, INFORMATION PROCESSING APPARATUS, METHOD, AND PROGRAM
Patent Information
- Application Number
- JP2022115007
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-07-19
- Publication Date
- 2025-03-12
- Estimated Expiration
- 2042-07-19
AI Technical Summary
【0014】 本開示によれば、時間間隔が異なる2種類の波形データを同一のファイルに保存することにより、ファイル管理を容易にすると共に、時間間隔が異なる2種類の波形データの同一時間軸上での波形表示を容易にする技術を提供することができる。
Smart Images

Figure 0007644734000001 
Figure 0007644734000002 
Figure 0007644734000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a waveform measuring instrument, an information processing device, a method, and a program. [Background technology]
[0002] Patent Document 1 discloses a technology for a test apparatus comprising at least one test module for testing a device under test, a waveform data acquisition module for converting electrical signals related to the device under test into digital signals at a predetermined sampling rate and acquiring waveform data which is a sequence of the digital signals, and a host controller for controlling the at least one test module and the waveform data acquisition module, and for collecting the waveform data acquired by the waveform data acquisition module in association with the operating state of the at least one test module, wherein the host controller records a timestamp for the start time and / or end time of each of a plurality of test items included in a test plan. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2020-193900 A Summary of the Invention [Problem to be solved by the invention]
[0004] Even when using conventional technology, there is a problem that the waveform data included in the time stamp format data is not necessarily equally spaced in terms of time, and therefore the waveform cannot be easily displayed using a spreadsheet software or the like. In addition, there is a problem that the equally spaced sampling format data and the time stamp format data are not stored in the same file, and therefore file management is not easy. Furthermore, there is a problem that it is not easy to display the waveforms of the equally spaced sampling format data and the time stamp format data on the same time axis.
[0005] Therefore, an object of the present disclosure is to provide a technology that facilitates file management by saving two types of waveform data with different time intervals in the same file, and that facilitates waveform display of two types of waveform data with different time intervals on the same time axis. [Means for solving the problem]
[0006] According to some embodiments, a waveform measuring instrument includes a control unit, which acquires first waveform data measured at a first time interval and second waveform data measured at a second time interval different from the first time interval, calculates a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is earlier than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, or calculates a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is later than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, and stores the first waveform data, the measurement time of the first waveform data, the second waveform data, and the time difference in a single file. This facilitates file management and makes it easier to display two types of waveform data with different time intervals on the same time axis.
[0007] In one embodiment, at least one of the first time interval and the second time interval may be equally spaced.
[0008] In one embodiment, at least one of the first waveform data and the second waveform data may be waveform data measured when its numerical value exceeds a predetermined threshold value.
[0009] In one embodiment, the control unit may select, as the time difference to be stored in the file, the smaller of the time difference between the measurement time of the second waveform data and the measurement time of the first waveform data that is earlier than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, and the time difference between the measurement time of the second waveform data and the measurement time of the first waveform data that is later than the measurement time of the second waveform data and closest to the measurement time of the second waveform data. This improves reproducibility of waveform display of two types of waveform data having different time intervals.
[0010] In one embodiment, the waveform measurement instrument further includes a display unit, and the control unit may display the first waveform data and the second waveform data on the same time axis based on the measurement time and the time difference of the first waveform data stored in the file via the display unit, thereby displaying two types of waveform data with different time intervals on the same time axis.
[0011] According to some embodiments, an information processing device includes a control unit, which acquires first waveform data measured at a first time interval and second waveform data measured at a second time interval different from the first time interval, calculates a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is earlier than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, or calculates a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is later than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, and stores the first waveform data, the measurement time of the first waveform data, the second waveform data, and the time difference in a single file. This facilitates file management and facilitates waveform display on the same time axis of two types of waveform data with different time intervals.
[0012] A method according to some embodiments is a computer-implemented method, comprising: acquiring first waveform data measured at a first time interval and second waveform data measured at a second time interval different from the first time interval; calculating a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is earlier than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, or a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is later than the measurement time of the second waveform data and closest to the measurement time of the second waveform data; and storing the first waveform data, the measurement time of the first waveform data, the second waveform data, and the time difference in a single file. This facilitates file management and facilitates waveform display on the same time axis of two types of waveform data with different time intervals.
[0013] A program according to some embodiments causes a computer to execute the following: acquiring first waveform data measured at a first time interval and second waveform data measured at a second time interval different from the first time interval, calculating a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is earlier than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, or a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is later than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, and storing the first waveform data, the measurement times of the first waveform data, the second waveform data, and the time difference in a single file. This facilitates file management and makes it easier to display two types of waveform data with different time intervals on the same time axis. Effect of the Invention
[0014] According to the present disclosure, by storing two types of waveform data with different time intervals in the same file, it is possible to provide a technology that facilitates file management and makes it easy to display the waveforms of two types of waveform data with different time intervals on the same time axis. [Brief description of the drawings]
[0015] [Figure 1] FIG. 13 is a schematic diagram of a waveform measuring instrument according to a comparative example. [Diagram 2] FIG. 2 is a schematic diagram of equally spaced sampling format data and time stamp format data. [Diagram 3] 4 is an operation flow of a waveform measuring instrument according to a comparative example. [Figure 4] FIG. 13 is a schematic diagram of a CSV file according to a comparative example. [Diagram 5] FIG. 1 is a schematic diagram of a waveform measurement instrument according to an embodiment of the present disclosure. [Figure 6] 4 is an operational flow of a waveform measuring instrument according to an embodiment of the present disclosure. [Figure 7] FIG. 2 is a schematic diagram of a CSV file according to an embodiment of the present disclosure. [Figure 8] FIG. 13 is a schematic diagram of an information processing device according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. In each drawing, the same reference numerals indicate the same or equivalent components.
[0017] A waveform measuring instrument 100 according to a comparative example will be described with reference to FIG.
[0018] Waveform measurement instrument 100 comprises a control unit 110 , a storage unit 120 , a signal input unit 130 , a key input unit 140 , and a display unit 150 .
[0019] Control unit 110 includes at least one processor, at least one programmable circuit, at least one dedicated circuit, or any combination of these. The processor is a general-purpose processor such as a central processing unit (CPU) or a graphics processing unit (GPU), or a dedicated processor specialized for a specific process. The programmable circuit is, for example, a field-programmable gate array (FPGA). The dedicated circuit is, for example, an application specific integrated circuit (ASIC). Control unit 110 executes processes related to the operation of waveform measurement instrument 100 while controlling each part of waveform measurement instrument 100.
[0020] The storage unit 120 includes, for example, a semiconductor memory, a magnetic memory, an optical memory, or any combination of these. The semiconductor memory is, for example, a random access memory (RAM) or a read only memory (ROM). The storage unit 120 functions, for example, as a main storage device, an auxiliary storage device, or a cache memory. The storage unit 120 stores data used in the operation of the waveform measuring instrument 100 and data obtained by the operation of the waveform measuring instrument 100. The storage unit 120 includes a waveform memory 122 and a storage 124.
[0021] Signal input section 130 includes an interface that inputs data of each channel into waveform measurement instrument 100. Signal input section 130 includes an input amplifier and an A / D converter.
[0022] Key input section 140 includes, for example, physical keys or electrostatic capacitance keys. Key input section 140 accepts an operation by a user to input data used in the operation of waveform measurement instrument 100.
[0023] Display unit 150 includes a display such as an LCD (liquid crystal display) or an organic EL (electro luminescence) display. Display unit 150 displays data obtained by the operation of waveform measurement instrument 100.
[0024] The operation of waveform measuring instrument 100 according to the comparative example will be described with reference to FIGS.
[0025] 2 acquired from the A / D converter are stored in advance in waveform memory 122 of storage unit 120. Note that the equally-spaced sampling format data includes only waveform data (Data11, Data12, ...), whereas the time stamp format data includes waveform data (Data21, Data22, ...) and the time of the waveform data (measurement time).
[0026] Step S110: The control unit 110 acquires from the storage unit 120 the label and the number of pieces of data included in the equally-spaced sampling format data (the total number of pieces of waveform data included in the equally-spaced sampling format data).
[0027] Step S112: The control unit 110 creates a new file. Note that the file is a text file such as a CSV file, but the present disclosure is not limited to this.
[0028] Step S114: The control unit 110 stores the labels acquired in step S110 in the file newly created in step S112, in order from the left.
[0029] Step S116: The control unit 110 starts a loop for the data a number of times. As a result, steps S118 to S124, which will be described later, are executed in the order of the data. Note that the data order in the equally-spaced sampling format data shown in FIG. 4 is Data11, Data12, Data13, . . ., Data16, . . .
[0030] Step S118: The control unit 110 refers to the storage unit 120 to calculate the time (Time) of the waveform data, and stores it in the file newly created in step S112. The time is calculated appropriately based on a reference time corresponding to the start time of acquiring the equally-spaced sampling data and the time interval for acquiring the equally-spaced sampling format data. For example, if the reference time is Time11 and the time interval is ΔT, the time (Time11) of the first waveform data (Data11) becomes the reference time, and the time (Time12) of the second waveform data (Data12) is calculated by adding ΔT to Time11. The reference time and the time interval can be set appropriately by the user, and are stored in advance in the storage unit 120.
[0031] Step S120: The control unit 110 starts a loop for the labels several times, whereby step S122 is executed in the order of the labels.
[0032] Step S122: The control unit 110 acquires waveform data by referring to the waveform memory 122 in the storage unit 120, and stores the waveform data in the file newly created in step S112.
[0033] Step S124: The control unit 110 ends the label multiple loop.
[0034] Step S126: The control unit 110 ends the data multiple loop.
[0035] Step S128: The control unit 110 closes the file newly created in step S112. The file is then stored in the storage 124 of the storage unit 120.
[0036] 4, the waveform data (Data11) of the label (Label1) at time (Time11) is written to a file, the waveform data (Data12) of the label (Label1) at time (Time12) is written to a file, the waveform data (Data13) of the label (Label1) at time (Time13) is written to a file, the waveform data (Data14) of the label (Label1) at time (Time14) is written to a file, the waveform data (Data15) of the label (Label1) at time (Time15) is written to a file, and the waveform data (Data16) of the label (Label1) at time (Time16) is written to a file. In the case of the equally-spaced sampling format data, the time interval (ΔT) between the measurement times of each data is constant.
[0037] Step S130: The control unit 110 refers to the waveform memory 122 of the storage unit 120, and acquires the label and the number of pieces of data (the total number of pieces of waveform data included in the time stamp format data) included in the time stamp format data.
[0038] Step S132: The control unit 110 creates a new file in addition to the file newly created in step S112. Here, the time of the time stamp format data is not necessarily the same as the time of the waveform data included in the equally-spaced sampling format data. Therefore, in step S132, a new file is created in addition to the file newly created in step S112. Note that this file is a text file such as a CSV file, but the present disclosure is not limited to this.
[0039] Step S134: The control unit 110 stores the labels acquired in step S130 in the file newly created in step S132, in order from the left.
[0040] Step S136: The control unit 110 starts a loop for the data a number of times, whereby steps S138 to S144 are executed in the order of the data.
[0041] Step S138: The control unit 110 refers to the waveform memory 122 of the storage unit 120 to obtain the time (Time) and stores it in the file newly created in step S132. Here, each waveform data of the time stamp format data is measured, for example, when the numerical value of the waveform data exceeds a predetermined reference point (trigger or threshold value), and includes information on the waveform data and its measurement time. Note that the equal interval sampling format data can be easily reproduced using the reference time and time interval as described above, even if there is no time information when each waveform data was measured, because the measurement intervals of each waveform data are equal in time. In contrast, the time stamp format data cannot be reproduced without time information when the waveform data was measured.
[0042] Step S140: The control unit 110 starts a loop for the number of Labels, whereby step S142 is executed in the order of the labels.
[0043] Step S142: The control unit 110 acquires waveform data by referring to the waveform memory 122 in the storage unit 120, and stores the waveform data in the file newly created in step S132.
[0044] Step S144: The control unit 110 ends the label multiple loop.
[0045] Step S146: The control unit 110 ends the data multiple loop.
[0046] Step S148: The control unit 110 closes the file newly created in step S132. The file is then stored in the storage 124 of the storage unit 120.
[0047] 4, the waveform data (Data21) of the label (Label2) at time (Time21) is written to the file, the waveform data (Data22) of the label (Label2) at time (Time22) is written to the file, the waveform data (Data23) of the label (Label2) at time (Time23) is written to the file, the waveform data (Data24) of the label (Label2) at time (Time24) is written to the file, the waveform data (Data25) of the label (Label2) at time (Time25) is written to the file, and the waveform data (Data26) of the label (Label2) at time (Time26) is written to the file. In the case of the time stamp format data, the time interval (ΔT) between the measurement times of each data is indefinite.
[0048] As described above, in the waveform measuring instrument 100 according to the comparative example, the waveform data included in the time stamp format data is not necessarily spaced equally in time, so there is a problem that the waveform cannot be easily displayed even using a spreadsheet program or the like. In addition, the equally spaced sampling format data and the time stamp format data are not stored in the same file, so there is a problem that file management is not easy. Furthermore, there is a problem that it is not easy to display the waveforms of the equally spaced sampling format data and the time stamp format data on the same time axis.
[0049] Therefore, the present embodiment aims to facilitate file management and waveform display on the same time axis by storing equally-spaced sampling format data and time stamp format data in the same file, and ultimately to facilitate data analysis using a waveform measuring instrument.
[0050] With reference to FIG. 5, a waveform measurement instrument 200 according to an embodiment of the present disclosure will be described.
[0051] Waveform measurement instrument 200 comprises a control section 210, a storage section 220, a signal input section 230, a key input section 240, and a display section 250. The description of the configuration of each section will be given with reference to the description of the comparative example.
[0052] 6 and 7, the operation of the waveform measurement instrument 200 according to an embodiment of the present disclosure will be described.
[0053] In this embodiment, it is assumed that equal-interval sampling format data corresponding to the first waveform data acquired from the A / D converter and time stamp format data corresponding to the second waveform data are stored in advance in waveform memory 222 of storage unit 220 and can be referred to appropriately by control unit 210. In the case of equal-interval sampling format data, the time interval (ΔT) between the measurement times of each piece of data corresponding to the first time interval is constant, and in the case of time stamp format data, the time interval (ΔT) between the measurement times of each piece of data corresponding to the second time interval is variable.
[0054] Step S210: The control unit 210 refers to the storage unit 220 and acquires all the labels and the total number of pieces of data.
[0055] Step S212: The control unit 210 creates a new file. Note that the file is a text file such as a CSV file, but the present disclosure is not limited to this.
[0056] Step S214: Control unit 210 stores the labels acquired in step S210 in the file newly created in step S212, in order from the left. Control unit 210 also adds a label characterizing the time difference (ΔTime) ("Label2_ΔT" in the example shown in FIG. 7) and stores it in the file. In the example shown in FIG. 7, "Label1" is written in the first row, second column, "Label2_ΔTime" is written in the first row, third column, and "Label2" is written in the first row, fourth column.
[0057] Step S216: The control unit 210 starts a maximum data number loop, which executes a loop of steps S216 to S240 (described later) in the order of data.
[0058] Step S218: The control unit 210 refers to the waveform memory 222 of the storage unit 220, calculates the time (Time) of the waveform data in the same manner as in the comparative example, and stores the time in the file newly created in step S212. In the example shown in FIG. 7, in the first loop of the maximum number of data loops, "Time1" is written in the third row, first column, in the second loop, "Time2" is written in the fourth row, first column, in the third loop, "Time3" is written in the fifth row, first column, in the fourth loop, "Time4" is written in the sixth row, first column, in the fifth loop, "Time5" is written in the seventh row, first column, and in the sixth loop, "Time6" is written in the eighth row, first column. Hereinafter, the row in which "TimeN" is written in the current loop, the Nth loop (N is a natural number), is referred to as the "current row", and the row in which "TimeN+1" is written in the (N+1)th loop is referred to as the "next row". Hereinafter, for simplicity, a case of N=2 will be described, but the present disclosure is not limited to this. In this embodiment, the case where the waveform data first considered in the maximum data number loop is equal-interval sampling format data will be described, but the present disclosure is not limited to this. If the waveform data first considered in the maximum data number loop is timestamp format data, the time information included in the data is appropriately considered as time (Time).
[0059] Step S220: The control unit 210 starts a label loop several times. This causes a loop of steps S220 to S238, described below, to be executed in label order. In the example shown in Fig. 7, the label that characterizes the equally-spaced sampling format data is "Label1", the label that characterizes the time stamp format data is "Label2", and the label order means the order of "Label1", "Label2".
[0060] Step S222: The control unit 210 refers to the waveform memory 222 of the storage unit 220 and determines whether or not there is waveform data to be stored in the file newly created in step S212. If there is waveform data, the process proceeds to step S224. On the other hand, if there is no waveform data, the process proceeds to step S238.
[0061] Step S224: The control unit 210 determines whether the waveform data is time stamp format data by referring to the storage unit 220. If the waveform data is not time stamp format data, the process proceeds to step S226. On the other hand, if the waveform data is time stamp format data, the process proceeds to step S228.
[0062] Step S226: (In the case of uniformly-spaced sampling format data) The control unit 210 acquires waveform data from the waveform memory 222 of the storage unit 220, and stores the waveform data in the current row and in the column corresponding to the label that characterizes the waveform data in the file newly created in step S212. When N=2, in the example shown in Fig. 7, the waveform data (Data12) is written in the current row (fourth row) and in the column (second column) corresponding to the label (Label1).
[0063] Step S228: (In the case of time stamp format data) The control unit 210 acquires waveform data and the time of the waveform data from the waveform memory 222 of the storage unit 220. When N=2, in the example shown in Fig. 7, the waveform data (Data21) and its time (Time21) are acquired.
[0064] Step S230: The control unit 210 acquires the time (Time) to be stored in the row next to the current row. When N=2, in the example shown in FIG. 7, the time (Time3) in the row (5th row) next to the current row (4th row) is acquired.
[0065] Step S232: The control unit 210 judges whether the time acquired in step S228 is later than the time (Time) stored in the current row and earlier than the time (Time) to be stored in the row next to the current row. If the time acquired in step S228 is later than the time (Time) stored in the current row and earlier than the time (Time) to be stored in the row next to the current row, the process proceeds to step S234. On the other hand, if the time acquired in step S228 is not later than the time (Time) stored in the current row and earlier than the time (Time) to be stored in the row next to the current row, the process proceeds to step S238. When N=2, in the example shown in FIG. 7, it is judged whether the time (Time21) is later than the time (Time2) written in the current row (row 4) and earlier than the time (Time3) to be written in the next row (row 5).
[0066] Step S234: The control unit 210 calculates the time difference (ΔTime) between the time acquired in step S228 and the time (Time) stored in the current row. When N=2, in the example shown in Fig. 7, the time difference (ΔTime21) is calculated by subtracting the time (Time2) from the time (Time21). That is, the time difference (ΔTime21) between the time (Time21) corresponding to the measurement time of the second waveform data and the time (Time2) corresponding to the measurement time of the first waveform data that is earlier than and closest to the time (Time21) is calculated.
[0067] Step S236: The control unit 210 stores the time difference (ΔTime) calculated in step S234 in the file newly created in step S212 in the current row and in a column corresponding to the label that characterizes the time difference. The control unit 210 also stores the waveform data acquired in step S228 in the file newly created in step S212 in the current row and in a column corresponding to the label that characterizes the waveform data. When N=2, in the example shown in FIG. 7, the time difference (ΔTime21) is written in the current row (fourth row) and in the column (third column) corresponding to the label (Label2_ΔTime), and the waveform data (Data21) is written in the current row (fourth row) and in the column (fourth column) corresponding to the label (Label2). That is, the waveform data (Data12) corresponding to the first waveform data, the time (Time2) corresponding to the measurement time of the waveform data (Data12), the waveform data (Data21) corresponding to the second waveform data, and the time difference (ΔTime21) are stored in the same file.
[0068] Step S238: The control unit 210 ends the label multiple loop.
[0069] Step S240: The control unit 210 ends the maximum data number loop.
[0070] Step S242: The control unit 210 closes the file newly created in step S212, and stores the file in the storage 224 of the memory unit 220. The control unit 210 may display the equally-spaced sampling format data and the time stamp format data stored in the file on the same time axis via the display unit 250. At this time, in the example shown in Fig. 7, the measurement times (Time1, Time2, Time3, Time4, Time5, Time6, etc.) and time differences (ΔTime21, ΔTime22, ΔTime23, etc.) of the equally-spaced sampling format data stored in the file are used as appropriate.
[0071] According to this embodiment, it is possible to store data in formats with different time intervals, such as uniformly-spaced sampling format data and time stamp format data, in the same file, which makes file management easier. Also, according to this embodiment, the time stamp format data is stored in the same row as the uniformly-spaced sampling format data whose measurement time is closest to the measurement time of the waveform data, so that it is possible to roughly reproduce the waveform of the time stamp format data, and it is easy to display the uniformly-spaced sampling format data and the time stamp format data on the same time axis. Furthermore, according to this embodiment, even if it is necessary to analyze the time stamp format data accurately in terms of time, the time difference between the uniformly-spaced sampling format data and the time stamp format data is stored in the file, so that accurate analysis in terms of time is possible.
[0072] Although the present disclosure has been described based on the drawings and examples, it should be noted that those skilled in the art may make various modifications and alterations based on the present disclosure. Therefore, it should be noted that these modifications and alterations are included in the scope of the present disclosure. For example, the functions included in each component or step can be rearranged so as not to be logically inconsistent, and multiple components or steps can be combined or divided into one.
[0073] In the above embodiment, the time stamp format data corresponding to the second waveform data is stored in the same row as the equally-spaced sampling format data corresponding to the first waveform data having a measurement time that is earlier than the measurement time of the waveform data and closest to the measurement time of the waveform data. However, as a modified example, the time stamp format data corresponding to the second waveform data may be stored in the same row as the equally-spaced sampling format data corresponding to the first waveform data having a measurement time that is later than the measurement time of the waveform data and closest to the measurement time of the waveform data. In addition, the control unit 210 may select, as the time difference to be stored in the above file, the smaller of the time difference between the time (e.g., Time21) corresponding to the measurement time of the second waveform data and the time (Time2) corresponding to the measurement time of the first waveform data that is earlier than and closest to the time (Time21), and the time difference between the time (e.g., Time21) corresponding to the measurement time of the second waveform data and the time (Time3) corresponding to the measurement time of the first waveform data that is later than and closest to the time (Time21). In this case, the smaller time difference is selected, improving the reproducibility of the waveform display of two types of waveform data on the same time axis (especially the reproducibility of data in the time stamp format).
[0074] In the above embodiment, the case where the uniformly-spaced sampling format data corresponds to the first waveform data and the time stamp format data corresponds to the second waveform data has been described. However, as a modified example, the first waveform data may be the time stamp format data and the second waveform data may be the uniformly-spaced sampling format data. As a modified example, both the first waveform data and the second waveform data may be the time stamp format data. As a modified example, the first waveform data may be the uniformly-spaced sampling format data and the second waveform data may be the uniformly-spaced sampling format data having a different time interval from the uniformly-spaced sampling format data. In this case, two or more types of uniformly-spaced sampling format data having different time intervals are stored in the same file. This is particularly effective when the ratio of the time intervals is a decimal number. For example, the case where the uniformly-spaced sampling format data sampled at a time interval of 2 ms and the uniformly-spaced sampling format data sampled at a time interval of 5 ms are stored in the same file can be cited. In this case, the ratio of the time intervals is 2.5, and the data at the time interval of 5 ms does not have the same time as the data at the time interval of 2 ms once every two points. Therefore, even when these data are stored in the same file in CSV format or the like, if one piece of data with a time interval of 2 ms is stored per line, data with a time interval of 5 ms that does not have the same time as the data with a time interval of 2 ms will not be stored. In this case, it is effective to use the time difference between the data with a time interval of 2 ms and the data with a time interval of 5 ms, as with the time stamp format data in the above embodiment.
[0075] Further, a part of the configuration and operation of the waveform measuring instrument 200 according to the above-mentioned embodiment may be performed by an information processing device 300, which is a computer such as a server belonging to a cloud computing system or other computing system. Referring to FIG. 8, the information processing device 300 includes a control unit 310, a storage unit 320, a communication unit 330, a key input unit 340, and a display unit 350. The information processing device 300 communicates with a general-purpose waveform measuring instrument having an arbitrary communication interface via the communication unit 330, thereby acquiring various measurement data from the general-purpose waveform measuring instrument. The control unit 310, the storage unit 320, the key input unit 340, and the display unit 350 are described in the above-mentioned embodiment. The communication unit 330 includes an arbitrary communication interface compatible with, for example, a wired LAN standard or a wireless LAN standard.
[0076] Also possible is an embodiment in which a general-purpose computer functions as part of the waveform measuring instrument 200 according to the above-described embodiment or as the information processing device 300. Specifically, a program describing the processing contents for realizing part of the functions of the waveform measuring instrument 200 according to the above-described embodiment or each function of the information processing device 300 is stored in the memory of the general-purpose computer, and the program is read and executed by a processor. Thus, the present disclosure can also be realized as a program executable by a processor, or a non-transitory computer-readable medium storing the program. [Industrial Applicability]
[0077] This disclosure can be applied to the creation and storage of CSV files of waveform measuring instruments that contain a mixture of equally-spaced sampling format data and time stamp format data. However, the scope of application of this disclosure is not limited to the examples given here. [Explanation of symbols]
[0078] 100, 200 waveform measuring instrument 110, 210 Control unit 120, 220 storage section 122, 222 waveform memory 124, 224 Storage 130, 230 Signal input section 140, 240 Key input section 150, 250 display section 300 Information processing device 310 Control section 320 Storage section 330 Communications Department 340 Key input section 350 Display section
Claims
1. A waveform measuring device including a control unit, The control unit is acquiring first waveform data measured at a first time interval and second waveform data measured at a second time interval different from the first time interval; calculating a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is earlier than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, or a time difference between the measurement time of the second waveform data and a measurement time of the first waveform data that is later than the measurement time of the second waveform data and closest to the measurement time of the second waveform data; a waveform measuring instrument that stores the first waveform data, the measurement time of the first waveform data, the second waveform data, and the time difference in the same file.
2. 2. The waveform measuring instrument according to claim 1, At least one of the first time interval and the second time interval is equal.
3. 2. The waveform measuring instrument according to claim 1, At least one of the first waveform data and the second waveform data is waveform data measured when its numerical value exceeds a predetermined threshold value.
4. 2. The waveform measuring instrument according to claim 1, the control unit selects, as the time difference to be stored in the file, the smaller of the time difference between the measurement time of the second waveform data and the measurement time of the first waveform data that is earlier than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, and the time difference between the measurement time of the second waveform data and the measurement time of the first waveform data that is later than the measurement time of the second waveform data and closest to the measurement time of the second waveform data.
5. 2. The waveform measuring instrument according to claim 1, Further comprising a display unit, The control unit displays the first waveform data and the second waveform data on the same time axis based on the measurement time and the time difference of the first waveform data stored in the file via the display unit.
6. An information processing device including a control unit, The control unit is acquiring first waveform data measured at a first time interval and second waveform data measured at a second time interval different from the first time interval; calculating a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is earlier than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, or a time difference between the measurement time of the second waveform data and a measurement time of the first waveform data that is later than the measurement time of the second waveform data and closest to the measurement time of the second waveform data; an information processing device that stores the first waveform data, the measurement time of the first waveform data, the second waveform data, and the time difference in a same file.
7. 1. A computer-implemented method comprising: Obtaining first waveform data measured at a first time interval and second waveform data measured at a second time interval different from the first time interval; calculating a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is earlier than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, or a time difference between the measurement time of the second waveform data and a measurement time of the first waveform data that is later than the measurement time of the second waveform data and closest to the measurement time of the second waveform data; storing the first waveform data, the measurement time of the first waveform data, the second waveform data, and the time difference in the same file.
8. On the computer, Obtaining first waveform data measured at a first time interval and second waveform data measured at a second time interval different from the first time interval; calculating a time difference between a measurement time of the second waveform data and a measurement time of the first waveform data that is earlier than the measurement time of the second waveform data and closest to the measurement time of the second waveform data, or a time difference between the measurement time of the second waveform data and a measurement time of the first waveform data that is later than the measurement time of the second waveform data and closest to the measurement time of the second waveform data; storing the first waveform data, the measurement time of the first waveform data, the second waveform data, and the time difference in a same file.
Citation Information
Patent Citations
Method for collecting and storing data
JP1986213726A
Input / output data management device
JP2006092241A
Workload degree determining device
JP2012085670A
Measuring device and measuring system
JP2019211379A
Test device
JP2020193900A